diff options
author | imp <imp@FreeBSD.org> | 1999-09-28 19:59:41 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1999-09-28 19:59:41 +0000 |
commit | 199022b99427101c61dc5973e775ca58b25fec82 (patch) | |
tree | 1f3ac2091f2650ea1a25f2c56bd8c5c0657881f0 /sys/dev/aha | |
parent | 7c20265b6407851b2db8abe77704c32ea4eb5ddf (diff) | |
download | FreeBSD-src-199022b99427101c61dc5973e775ca58b25fec82.zip FreeBSD-src-199022b99427101c61dc5973e775ca58b25fec82.tar.gz |
Use rmand_get_bus{tag,handle} rather than hard wiring things to
I386_BUS_SPACE_IO. Compiles now on the Alpha, but likely will not
work due to bus space address <-> virtual address mapping bogons that
work for i386 but not alpha.
Diffstat (limited to 'sys/dev/aha')
-rw-r--r-- | sys/dev/aha/aha_isa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/aha/aha_isa.c b/sys/dev/aha/aha_isa.c index acc8c85..d74d17e 100644 --- a/sys/dev/aha/aha_isa.c +++ b/sys/dev/aha/aha_isa.c @@ -108,7 +108,7 @@ aha_isa_probe(device_t dev) /* * Ensure this port has not already been claimed already - * by a PCI, EISA or ISA adapter. + * by another adapter. */ if (aha_check_probed_iop(ioport) != 0) continue; @@ -124,8 +124,8 @@ aha_isa_probe(device_t dev) continue; /* Allocate a softc for use during probing */ - aha = aha_alloc(device_get_unit(dev), I386_BUS_SPACE_IO, - ioport); + aha = aha_alloc(device_get_unit(dev), rman_get_bustag(port_res), + rman_get_bushandle(port_res)); if (aha == NULL) { bus_release_resource(dev, SYS_RES_IOPORT, port_rid, |