Warner Losh
098ca2bda9
Start each of the license/copyright comments with /*-, minor shuffle of lines
2005-01-06 01:43:34 +00:00
Marius Strobl
50aa106108
Remove double __FBSDID and move the remaining one into a common place after
...
the license(s) and before the driver comment (the latter only in drivers not
having __FBSDID at that location).
2004-05-29 18:09:10 +00:00
David E. O'Brien
aad970f1fe
Use __FBSDID().
...
Also some minor style cleanups.
2003-08-24 17:55:58 +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
David E. O'Brien
f9b7742405
Partial support for the nVidia nForce2 chipset's on-board Broadcom/Altima PHY
...
and 3com MAC. Specifications for the Altima PHY are available at:
http://www.altimacom.com/products/ac101L.html
Submitted by: Mikko S. Hyvarinen <morphy@morphy.iki.fi>
2003-01-12 21:03:38 +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
Semen Ustimenko
4592db4635
MII_TICK handlers need not restart aneg on these PHYs, they behave pretty
...
well as is, so - just fetch current status upon MII_TICK.
Also do IFM_INST verification at the top of *_service() then doing it
separately for every case in switch.
acphy: do not read MII_ACPHY_DIAG twice, there is nothing latching.
qsphy: always fetch actual link status from MII_QSPHY_PCTL.
MFC after: 1 week
2002-05-01 19:15:54 +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
e8288d7f9c
Oops... I knew i shouldn't use arrows in vi. Fix a typo causing errors in
...
compilation.
2001-02-07 22:34:15 +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