| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
and amd64. The optimization is a trivial on recent machines.
Reviewed by: -arch (imp, marcel, dfr)
|
|
|
|
|
| |
the license(s) and before the driver comment (the latter only in drivers not
having __FBSDID at that location).
|
|
|
|
| |
Also some minor style cleanups.
|
|
|
|
|
|
|
| |
Remove unused variables.
Add XXX comment where a break may be missing. [lxtphy.c]
Found by: FlexeLint
|
| |
|
|
|
|
| |
The devlist2h.awk tool to do this has been repocopied to sys/tools/.
|
|
|
|
|
| |
Cleanup my earlier de-__P sweep and remove whitespace between function
names and paramters.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
mistakes like the one brgphy.c (now corrected).
|
| |
|
| |
|
|
|
|
|
|
|
| |
. 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.
|
|
|
|
|
| |
- <sys/mutex.h> now requires <sys/systm.h>
- <sys/mutex.h> and <sys/sx.h> now require <sys/lock.h>
|
|
|
|
|
| |
- machine/ipl.h -> sys/ipl.h
- machine/mutex.h -> sys/mutex.h
|
| |
|
|
|
|
|
| |
include anything else that includes mutex.h. Needed to resolve struct mtx
from struct dc_softc.
|
|
|
|
| |
Remove ~60 unneeded #include <sys/malloc.h>
|
|
which it replaces. The new driver supports all of the chips supported
by the ones it replaces, as well as many DEC/Intel 21143 10/100 cards.
This also completes my quest to convert things to miibus and add
Alpha support.
|