Date: Fri, 31 Dec 2004 20:47:51 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys bus.h src/sys/kern device_if.m subr_bus.c Message-ID: <200412312047.iBVKlp4m038726@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2004-12-31 20:47:51 UTC
FreeBSD src repository
Modified files:
sys/sys bus.h
sys/kern device_if.m subr_bus.c
Log:
Implement device_quiesce. This method means 'you are about to be
unloaded, cleanup, or return ebusy of that's inconvenient.' The
default module hanlder for newbus will now call this when we get a
MOD_QUIESCE event, but in the future may call this at other times.
This shouldn't change any actual behavior until drivers start to use it.
Revision Changes Path
1.11 +31 -0 src/sys/kern/device_if.m
1.167 +101 -0 src/sys/kern/subr_bus.c
1.64 +2 -0 src/sys/sys/bus.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412312047.iBVKlp4m038726>
