From 4ae1646ed50046da7ff680f91145c7f0a4233c89 Mon Sep 17 00:00:00 2001 From: marius Date: Wed, 11 Aug 2004 21:19:31 +0000 Subject: Unbreak after struct resource was hidden. Tested with EBus front-end on Sun AXe board. --- sys/dev/pcf/pcf_isa.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/pcf/pcf_isa.c') diff --git a/sys/dev/pcf/pcf_isa.c b/sys/dev/pcf/pcf_isa.c index 6add1ef..a4a2a50 100644 --- a/sys/dev/pcf/pcf_isa.c +++ b/sys/dev/pcf/pcf_isa.c @@ -132,6 +132,8 @@ pcf_isa_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); -- cgit v1.1