Date: Mon, 22 Nov 2004 06:46:31 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/hme if_hme.c if_hme_pci.c if_hme_sbus.c if_hmevar.h Message-ID: <200411220646.iAM6kVG7018054@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2004-11-22 06:46:31 UTC
FreeBSD src repository
Modified files:
sys/dev/hme if_hme.c if_hme_pci.c if_hme_sbus.c
if_hmevar.h
Log:
Make hme(4) mpsafe
- Let hme_start()/hme_init() acquire lock and then call
hme_start_locked()/hme_init_locked() respectivly.
- Teardown interrupt handler before hme_detach().
- Remove IFF_NEEDSGIANT flag and mark interrupt handler INTR_MPSAFE.
- Set callout handler to CALLOUT_MPSAFE.
- Add locks in hme MII interface.
Reviewed by: jake
Tested by: Julian C. Dunn <jdunn at opentrend dot net>
MFC after: 2 weeks
Revision Changes Path
1.32 +97 -17 src/sys/dev/hme/if_hme.c
1.16 +9 -5 src/sys/dev/hme/if_hme_pci.c
1.15 +10 -5 src/sys/dev/hme/if_hme_sbus.c
1.7 +7 -2 src/sys/dev/hme/if_hmevar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411220646.iAM6kVG7018054>
