diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-15 13:56:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-15 13:56:49 +0000 |
commit | e4e83e0395766865b32e31ffd4c99492e95021a9 (patch) | |
tree | 3cdf19cc2481595d362927e4907c24c03ed2cea4 /sys/arch/sparc/dev/esp.c | |
parent | 52870c9193cefaa9a2f79fab1b0a1e8076290b55 (diff) |
new mapdev/()/mapiodev() calling convention uses "struct rom_reg *" to supply
base plus an offset
new dvma routines
Diffstat (limited to 'sys/arch/sparc/dev/esp.c')
-rw-r--r-- | sys/arch/sparc/dev/esp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/esp.c b/sys/arch/sparc/dev/esp.c index d0ca940b08a..7941b614917 100644 --- a/sys/arch/sparc/dev/esp.c +++ b/sys/arch/sparc/dev/esp.c @@ -167,7 +167,7 @@ espattach(parent, self, aux) sc->sc_regs = (struct espregs *) ca->ca_ra.ra_vaddr; else { sc->sc_regs = (struct espregs *) - mapiodev(ca->ca_ra.ra_paddr, ca->ca_ra.ra_len, + mapiodev(ca->ca_ra.ra_reg, 0, ca->ca_ra.ra_len, ca->ca_bustype); } espr = sc->sc_regs; |