summaryrefslogtreecommitdiffstats
path: root/sys/dev/pcf/envctrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pcf/envctrl.c')
-rw-r--r--sys/dev/pcf/envctrl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pcf/envctrl.c b/sys/dev/pcf/envctrl.c
index b0fb96d..74d87c7 100644
--- a/sys/dev/pcf/envctrl.c
+++ b/sys/dev/pcf/envctrl.c
@@ -118,6 +118,8 @@ envctrl_attach(device_t dev)
device_printf(dev, "cannot reserve I/O port range\n");
goto error;
}
+ sc->bt_ioport = rman_get_bustag(sc->res_ioport);
+ sc->bh_ioport = rman_get_bushandle(sc->res_ioport);
sc->pcf_flags = device_get_flags(dev);
OpenPOWER on IntegriCloud