Date: Thu, 18 Aug 2005 17:09:16 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_sf.c if_sfreg.h Message-ID: <200508181709.j7IH9GRO055349@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508181709.j7IH9GRO055349>
