obrien
c63dab466c
Use __FBSDID().
...
Also some minor style cleanups.
2003-08-24 17:55:58 +00:00
peter
8d210b1fba
Remove unused variable and code.
2003-02-19 00:32:01 +00:00
obrien
665cbf9fac
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
semenu
51ffa1e8b1
Remove unnecessary <sys/malloc.h> include.
...
Submitted by: marius@alchemy.franken.de
MFC after: 1 week
2002-10-29 00:20:47 +00:00
phk
f991342a35
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
phk
2715240fe7
Move a lot closer to NetBSDs MII support for GigE.
...
Move fxp and nge drivers over to use the new stuff.
2002-04-29 11:57:30 +00:00
phk
f8c369f7e5
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
phk
9f962d9702
Improve an API by about 4 lines per driver.
2002-04-28 19:01:32 +00:00
jlemon
6689cad447
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
jlemon
9215776565
Correctly recognize the i82562{EM} PHYs.
...
Obtained from: OpenBSD
2001-05-11 20:34:38 +00:00
jlemon
1f6d026436
Back out previous commit until I figure out a way to do it properly.
...
We really want to be able to say "auto NWAY", "limited NWAY", and
"no NWAY". Unfortunately, this does not appear to be possible with
the current mediaopt structure.
2001-03-28 07:01:45 +00:00
jlemon
b66fe642a9
Really fix NWAY negotiation for the 82553 PHY. Locking down the
...
media interface selection should not imply disabling NWAY negotiaton
as well.
Problem pointed out by: peter
2001-03-17 02:50:20 +00:00
jlemon
335a9498d4
Add drivers for Intel 82553 and 82555 PHYs.
2001-03-12 02:41:57 +00:00