Subject: CVS commit: src/sys/arch/i386/i386
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 12/16/2007 20:57:22
Module Name:	src
Committed By:	dyoung
Date:		Sun Dec 16 20:57:22 UTC 2007

Modified Files:
	src/sys/arch/i386/i386: mainbus.c

Log Message:
Add a childdetached handler.  This lets us detach devices from
mainbus0. E.g.,

# drvctl -d pci0
elansc0 detached
cardbus0 detached
pcmcia0 detached
cardslot0 detached
cbb0 detached
rtw0 detached
cardbus1 detached
pcmcia1 detached
cardslot1 detached
cbb1 detached
nsphyter0 detached
sip0 detached
nsphyter1 detached
sip1 detached
pci0 detached
#

Alas, we cannot re-attach devices to mainbus, yet.


To generate a diff of this commit:
cvs rdiff -r1.72 -r1.73 src/sys/arch/i386/i386/mainbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.