David E. O'Brien
aad970f1fe
Use __FBSDID().
...
Also some minor style cleanups.
2003-08-24 17:55:58 +00:00
Poul-Henning Kamp
19ca58475e
Remove unnecessary breaks.
...
Remove unused variables.
Add XXX comment where a break may be missing. [lxtphy.c]
Found by: FlexeLint
2003-05-31 19:48:33 +00:00
David E. O'Brien
8368cf8f75
Use __FBSDID rather than rcsid[].
2003-04-03 21:36:33 +00:00
David E. O'Brien
2d3ce7133a
Remove miidevs.h and generate it from miidevs at compile time.
...
The devlist2h.awk tool to do this has been repocopied to sys/tools/.
2003-01-19 02:59:34 +00:00
Alfred Perlstein
9c1c2e9924
Put function return types on a line by themselves.
...
Cleanup my earlier de-__P sweep and remove whitespace between function
names and paramters.
2002-10-14 22:31:52 +00:00
Poul-Henning Kamp
fd94424c78
Clean up mii/phy drivers: Remove the MIIF_DOINGAUTO which doesn't really
...
do anything at the end of the day except bloat the drivers which has
copy&pasted it.
2002-05-04 11:00:30 +00:00
Poul-Henning Kamp
279fe8d156
Make one generic mii_phy_detach() to replace 19 slightly different ones.
...
Rename mii_phy_auto_stop() mii_phy_down().
Introduce mii_down(), use it from nge. Do not indirect it to 19 identical
case's in 19 switchstatements like NetBSD did.
2002-04-29 13:07:38 +00:00
Poul-Henning Kamp
07dd938303
Don't pass three args when one will do just fine, and even prevent
...
mistakes like the one brgphy.c (now corrected).
2002-04-28 19:25:07 +00:00
Poul-Henning Kamp
83549c664b
Improve an API by about 4 lines per driver.
2002-04-28 19:01:32 +00:00
Alfred Perlstein
e51a25f850
Remove __P.
2002-03-20 02:08:01 +00:00
Jonathan Lemon
d9730b8b53
Cleanup pass for mii drivers.
...
. Make internal service routines static.
. Use a consistent ordering of checks in MII_TICK. Do the work in the
mii_phy_tick() subroutine if appropriate.
. Call mii_phy_update() to trigger the callbacks.
2001-09-29 19:18:52 +00:00
Semen Ustimenko
9526a692c6
Add QS6612, AC101 and LXT970 personal drivers and register definitions.
...
Obtained from: NetBSD/OpenBSD
2001-02-07 19:57:40 +00:00