From 5ebb910adaaa2bc63001be704f7ad4b652af5be8 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Thu, 27 Mar 2008 09:22:00 +0000 Subject: add detach support. this has to be the easiest diff for hotplug ever, go read it :) ok kettenis@ jsg@ --- sys/dev/pci/jmb.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sys') 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 @@ -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 = { -- cgit v1.2.3