diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-09-10 12:57:25 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-09-10 12:57:25 +0000 |
commit | 72c06644749a0121b241a7cd831afeb89faebf03 (patch) | |
tree | d1da80fd7a9f7d810cfea30ea393dabf220dbfc7 /sys/arch/macppc/dev/macintr.c | |
parent | cff8de58eff2696fccdd3acc6fc363013e7528e8 (diff) |
Device addresses should be mapped. It should be converted to bus_ accesses.
This maps the region with mapiodev().
Diffstat (limited to 'sys/arch/macppc/dev/macintr.c')
-rw-r--r-- | sys/arch/macppc/dev/macintr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/dev/macintr.c b/sys/arch/macppc/dev/macintr.c index b3f3fbf99fc..d529c671ff4 100644 --- a/sys/arch/macppc/dev/macintr.c +++ b/sys/arch/macppc/dev/macintr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: macintr.c,v 1.1 2001/09/01 15:50:00 drahn Exp $ */ +/* $OpenBSD: macintr.c,v 1.2 2001/09/10 12:57:24 drahn Exp $ */ /*- * Copyright (c) 1995 Per Fogelstrom @@ -161,7 +161,7 @@ macintr_attach(parent, self, aux) extern intr_establish_t *intr_establish_func; extern intr_disestablish_t *intr_disestablish_func; - interrupt_reg = (void *)ca->ca_baseaddr; /* XXX */ + interrupt_reg = (void *)mapiodev(ca->ca_baseaddr,0x100); /* XXX */ install_extint(mac_ext_intr); pending_int_f = mac_intr_do_pending_int; |