diff options
author | dfr <dfr@FreeBSD.org> | 2000-05-27 10:02:32 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2000-05-27 10:02:32 +0000 |
commit | d9bdefd5d5ac890056a82a4f502d0231c59a745b (patch) | |
tree | 23accae2ffee59e4e43c1234d37b522c242059f4 | |
parent | f7c488ce24c6ef2c47a6d37f33bfa0151d7ff6f8 (diff) | |
download | FreeBSD-src-d9bdefd5d5ac890056a82a4f502d0231c59a745b.zip FreeBSD-src-d9bdefd5d5ac890056a82a4f502d0231c59a745b.tar.gz |
Use bus_space_handle_t instead of bus_space_tag_t to hold the result
from rman_get_bushandle().
-rw-r--r-- | sys/alpha/isa/mcclock_isa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/alpha/isa/mcclock_isa.c b/sys/alpha/isa/mcclock_isa.c index 4eee37a..3bb258c 100644 --- a/sys/alpha/isa/mcclock_isa.c +++ b/sys/alpha/isa/mcclock_isa.c @@ -113,7 +113,7 @@ mcclock_isa_write(device_t dev, u_int reg, u_int val) { struct mcclock_softc *sc = device_get_softc(dev); bus_space_tag_t iot = rman_get_bustag(sc->port); - bus_space_tag_t ioh = rman_get_bushandle(sc->port); + bus_space_handle_t ioh = rman_get_bushandle(sc->port); bus_space_write_1(iot, ioh, 0, reg); bus_space_write_1(iot, ioh, 1, val); @@ -124,7 +124,7 @@ mcclock_isa_read(device_t dev, u_int reg) { struct mcclock_softc *sc = device_get_softc(dev); bus_space_tag_t iot = rman_get_bustag(sc->port); - bus_space_tag_t ioh = rman_get_bushandle(sc->port); + bus_space_handle_t ioh = rman_get_bushandle(sc->port); bus_space_write_1(iot, ioh, 0, reg); return bus_space_read_1(iot, ioh, 1); |