summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2008-03-27 09:22:00 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2008-03-27 09:22:00 +0000
commit5ebb910adaaa2bc63001be704f7ad4b652af5be8 (patch)
treee31d64d948eda3da86a038338dcf6a53c614ff1b /sys/dev/pci
parentbe57b87783ac040fc3932dc22ddd3fdadc57fb1b (diff)
add detach support. this has to be the easiest diff for hotplug ever, go
read it :) ok kettenis@ jsg@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/jmb.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/pci/jmb.c b/sys/dev/pci/jmb.c
index bc79ce7f306..ea65e7b91d2 100644
--- a/sys/dev/pci/jmb.c
+++ b/sys/dev/pci/jmb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: jmb.c,v 1.6 2007/07/03 01:08:36 dlg Exp $ */
+/* $OpenBSD: jmb.c,v 1.7 2008/03/27 09:21:59 dlg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -74,7 +74,10 @@ struct jmb_softc {
};
struct cfattach jmb_ca = {
- sizeof(struct jmb_softc), jmb_match, jmb_attach
+ sizeof(struct jmb_softc),
+ jmb_match,
+ jmb_attach,
+ config_detach_children
};
struct cfdriver jmb_cd = {