diff options
author | marius <marius@FreeBSD.org> | 2004-08-11 21:19:31 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2004-08-11 21:19:31 +0000 |
commit | 4ae1646ed50046da7ff680f91145c7f0a4233c89 (patch) | |
tree | 39cfc105dfce653b68422ed250b593311bcfe71d /sys/dev/pcf/pcf_isa.c | |
parent | 12f47e5a96e5c45ab2226b047ff6cda4c6c88ed7 (diff) | |
download | FreeBSD-src-4ae1646ed50046da7ff680f91145c7f0a4233c89.zip FreeBSD-src-4ae1646ed50046da7ff680f91145c7f0a4233c89.tar.gz |
Unbreak after struct resource was hidden. Tested with EBus front-end on
Sun AXe board.
Diffstat (limited to 'sys/dev/pcf/pcf_isa.c')
-rw-r--r-- | sys/dev/pcf/pcf_isa.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |