cvs commit: src/sys/pci if_sf.c if_sfreg.h
John Baldwin
jhb at FreeBSD.org
Thu Aug 18 17:09:17 GMT 2005
jhb 2005-08-18 17:09:16 UTC
FreeBSD src repository
Modified files:
sys/pci if_sf.c if_sfreg.h
Log:
Fixup locking for sf(4) and mark MPSAFE:
- Add locked variants of start, init, and ifmedia_upd.
- Use callout_* instead of timeout/untimeout.
- Don't recurse on the driver lock.
- Fixup locking in ioctl.
- Lock the driver lock in the ifmedia handlers rather than across
ifmedia_ioctl().
Tested by: brueffer
MFC after: 3 days
Revision Changes Path
1.86 +82 -52 src/sys/pci/if_sf.c
1.16 +1 -1 src/sys/pci/if_sfreg.h
More information about the cvs-src
mailing list