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
alfred
9693ff7295
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
phk
1dfc2c167f
Be consistent about "static" functions: if the function is marked
...
static in its prototype, mark it static at the definition too.
Inspired by: FlexeLint warning #512
2002-09-28 17:15:38 +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
d6fb98dc45
Move us yet closer to IFM_* definitions in NetBSD.
2002-04-29 05:32:44 +00:00
alfred
3264aec746
Remove __P.
2002-03-20 02:08:01 +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
wpaul
0ee7429451
Grrrrr. That last commit was supposed to be to the head, not to -stable
...
(even though I want the fixes in -stable anyway). I'm sure I'm going
to get flamed now for committing to -stable and -current too quickly.
*sigh*
2000-12-12 19:31:14 +00:00
phk
beadbd4365
Remove unneeded #include <machine/clock.h>
2000-10-15 14:19:01 +00:00
wpaul
258ce9d2c6
Add a homePNA PHY driver. This is really only a stub: MII-based homePNA
...
PHYs tend to look like 10mbps PHYs with no autonegotiation. This allows
us to display the proper media type and link status however.
2000-09-20 17:04:30 +00:00