cvs commit: src/sys/dev/lge if_lge.c if_lgereg.h
John Baldwin
jhb at FreeBSD.org
Wed Nov 23 18:51:40 GMT 2005
jhb 2005-11-23 18:51:34 UTC
FreeBSD src repository
Modified files:
sys/dev/lge if_lge.c if_lgereg.h
Log:
Add locking and mark MPSAFE:
- Add locked variants of start, init, and ifmedia_upd.
- Add a mutex to the softc and remove spl calls.
- Use callout(9) rather than timeout(9).
- Setup interrupt handler last in attach.
- Use M_ZERO rather than bzero.
MFC after: 1 week
Tested by: wpaul
Revision Changes Path
1.46 +92 -54 src/sys/dev/lge/if_lge.c
1.7 +6 -1 src/sys/dev/lge/if_lgereg.h
More information about the cvs-src
mailing list