cvs commit: src/sys/dev/re if_re.c src/sys/pci if_rl.c if_rlreg.h
John Baldwin
jhb at FreeBSD.org
Thu Sep 29 09:52:20 PDT 2005
jhb 2005-09-29 16:52:19 UTC
FreeBSD src repository
Modified files:
sys/dev/re if_re.c
sys/pci if_rl.c if_rlreg.h
Log:
- Use if_printf() and device_printf() in re(4) and remove rl_unit from
the softc.
- Use callout_init_mtx() and rather than timeout/untimeout in both rl(4)
and re(4).
- Fix locking for ifmedia by locking the driver in the ifmedia handlers
rather than in the miibus functions. (re(4) didn't lock the mii stuff
at all!)
- Fix some locking in re_ioctl().
Note: the two drivers share the same softc declared in if_rlreg.h, so they
had to be change simultaneously.
MFC after: 1 week
Tested by: several on rl(4), none on re(4)
Revision Changes Path
1.55 +49 -54 src/sys/dev/re/if_re.c
1.157 +11 -17 src/sys/pci/if_rl.c
1.53 +1 -2 src/sys/pci/if_rlreg.h
More information about the cvs-src
mailing list