summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac/aac.c
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2003-02-06 03:31:02 +0000
committerscottl <scottl@FreeBSD.org>2003-02-06 03:31:02 +0000
commit6fd61c14bdaabd0dd53881ba3efe6bc68a8c479a (patch)
tree3d89609d113c56c4e3d009ce7becf17276907d01 /sys/dev/aac/aac.c
parent5ae8784f591a10e3b022a4ffacdfdcbd6af17e32 (diff)
downloadFreeBSD-src-6fd61c14bdaabd0dd53881ba3efe6bc68a8c479a.zip
FreeBSD-src-6fd61c14bdaabd0dd53881ba3efe6bc68a8c479a.tar.gz
Teach the CAM module how to deregister itself so it can be unloaded.
Diffstat (limited to 'sys/dev/aac/aac.c')
-rw-r--r--sys/dev/aac/aac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c
index c9e0bc3..f612c15 100644
--- a/sys/dev/aac/aac.c
+++ b/sys/dev/aac/aac.c
@@ -2798,6 +2798,7 @@ aac_get_bus_info(struct aac_softc *sc)
caminf->BusNumber = i;
caminf->InitiatorBusId = businfo.InitiatorBusId[i];
caminf->aac_sc = sc;
+ caminf->sim_dev = child;
device_set_ivars(child, caminf);
device_set_desc(child, "SCSI Passthrough Bus");
OpenPOWER on IntegriCloud