summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccbb
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-10-19 00:18:11 +0000
committerimp <imp@FreeBSD.org>2005-10-19 00:18:11 +0000
commita6f06998458f2d2ccd0ff4e8b40d0645ac566f94 (patch)
tree48cc1d1da8c41b270d1d1612c65ec59f5a6a253f /sys/dev/pccbb
parent6ef4b2f5553f8516edf627adb38fbf4634d79ea5 (diff)
downloadFreeBSD-src-a6f06998458f2d2ccd0ff4e8b40d0645ac566f94.zip
FreeBSD-src-a6f06998458f2d2ccd0ff4e8b40d0645ac566f94.tar.gz
Make sure we set bst and bsh in the softc.
This gets us probing, but not attaching to, ISA cards. More work needed since the ISA attach routine is return ENXIO right now :-)
Diffstat (limited to 'sys/dev/pccbb')
-rw-r--r--sys/dev/pccbb/pccbb_isa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pccbb/pccbb_isa.c b/sys/dev/pccbb/pccbb_isa.c
index b008574..cfd11484 100644
--- a/sys/dev/pccbb/pccbb_isa.c
+++ b/sys/dev/pccbb/pccbb_isa.c
@@ -156,6 +156,8 @@ cbb_isa_activate(device_t dev)
device_printf(dev, "Cannot allocate I/O\n");
return (ENOMEM);
}
+ sc->bst = rman_get_bustag(res);
+ sc->bsh = rman_get_bushandle(res);
sc->base_res = res;
return (0);
}
OpenPOWER on IntegriCloud