diff options
Diffstat (limited to 'sys/dev/ic/aic6360.c')
-rw-r--r-- | sys/dev/ic/aic6360.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/dev/ic/aic6360.c b/sys/dev/ic/aic6360.c index 881b2a79ce7..b2d185cd9b8 100644 --- a/sys/dev/ic/aic6360.c +++ b/sys/dev/ic/aic6360.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aic6360.c,v 1.11 2006/05/23 20:42:21 miod Exp $ */ +/* $OpenBSD: aic6360.c,v 1.12 2006/06/03 01:51:54 martin Exp $ */ /* $NetBSD: aic6360.c,v 1.52 1996/12/10 21:27:51 thorpej Exp $ */ #ifdef DDB @@ -296,6 +296,17 @@ aicattach(sc) config_found(&sc->sc_dev, &sc->sc_link, scsiprint); } +int +aic_detach(struct device *self, int flags) +{ + struct aic_softc *sc = (struct aic_softc *) self; + int rv = 0; + + rv = config_detach_children(&sc->sc_dev, flags); + + return (rv); +} + /* Initialize AIC6360 chip itself * The following conditions should hold: * aicprobe should have succeeded, i.e. the ioh handle in aic_softc must |