diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-11-28 23:35:45 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-11-28 23:35:45 +0000 |
commit | a5771e8fe90f291efc372ba3ceaf19dd410d38a3 (patch) | |
tree | 3756d7f232d732b4f57614e9447bcb214c684943 /sys/arch/arc/isa | |
parent | 22d35c6b496718de60c740eab6f843bb546513b3 (diff) |
Adaption to new bus.h from NetBSD. Various driver has been updated to
NetBSD 961107 state. Other has not, partly because sometimes the bus.h
changes was coupled with other changes.
Diffstat (limited to 'sys/arch/arc/isa')
-rw-r--r-- | sys/arch/arc/isa/isabus.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/arch/arc/isa/isabus.c b/sys/arch/arc/isa/isabus.c index de0634cd7e3..2d21710a5ae 100644 --- a/sys/arch/arc/isa/isabus.c +++ b/sys/arch/arc/isa/isabus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isabus.c,v 1.6 1996/11/23 21:45:33 kstailey Exp $ */ +/* $OpenBSD: isabus.c,v 1.7 1996/11/28 23:35:44 niklas Exp $ */ /* $NetBSD: isa.c,v 1.33 1995/06/28 04:30:51 cgd Exp $ */ /*- @@ -116,7 +116,6 @@ static int beeping; struct isabr_softc { struct device sc_dv; struct arc_isa_bus arc_isa_cs; - struct arc_isa_busmap arc_isa_map; struct abus sc_bus; }; @@ -192,11 +191,10 @@ isabrattach(parent, self, aux) sc->arc_isa_cs.ic_intr_establish = isabr_intr_establish; sc->arc_isa_cs.ic_intr_disestablish = isabr_intr_disestablish; - sc->arc_isa_map.isa_io_base = (void *)isa_io_base; - sc->arc_isa_map.isa_mem_base = (void *)isa_mem_base; iba.iba_busname = "isa"; - iba.iba_bc = &sc->arc_isa_map; + iba.iba_iot = (bus_space_tag_t)isa_io_base; + iba.iba_memt = (bus_space_tag_t)isa_mem_base; iba.iba_ic = &sc->arc_isa_cs; config_found(self, &iba, isabrprint); } @@ -210,7 +208,8 @@ isabrprint(aux, pnp) if (pnp) printf("%s at %s", ca->ca_name, pnp); - printf(" isa_io_base 0x%lx isa_mem_base 0x%lx", isa_io_base, isa_mem_base); + printf(" isa_io_base 0x%lx isa_mem_base 0x%lx", isa_io_base, + isa_mem_base); return (UNCONF); } |