summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-03-12 19:46:26 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-03-12 19:46:26 +0000
commit5b869bc71640b862bf003f9eea2fdae1eb935f36 (patch)
tree768f1dbcc617e2388dd74830db9f7dd8f3fbae65 /sys/arch/sparc64/dev
parent9588dc084a40a7b71a5ab85b4ae575afac88e38f (diff)
sparc64's aren't likely to be CPU_ISSUN4C
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r--sys/arch/sparc64/dev/sbus.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/arch/sparc64/dev/sbus.c b/sys/arch/sparc64/dev/sbus.c
index 374c61134f5..14d730b27ea 100644
--- a/sys/arch/sparc64/dev/sbus.c
+++ b/sys/arch/sparc64/dev/sbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbus.c,v 1.10 2002/02/05 18:34:39 jason Exp $ */
+/* $OpenBSD: sbus.c,v 1.11 2002/03/12 19:46:25 jason Exp $ */
/* $NetBSD: sbus.c,v 1.46 2001/10/07 20:30:41 eeh Exp $ */
/*-
@@ -212,10 +212,7 @@ void sbus_dmamem_unmap __P((bus_dma_tag_t tag, caddr_t kva,
*/
/* Translate Sbus interrupt level to processor IPL */
-static int intr_sbus2ipl_4c[] = {
- 0, 1, 2, 3, 5, 7, 8, 9
-};
-static int intr_sbus2ipl_4m[] = {
+static int intr_sbus2ipl_4u[] = {
0, 2, 3, 5, 7, 9, 11, 13
};
@@ -293,9 +290,7 @@ sbus_attach(parent, self, aux)
sc->sc_ign = ma->ma_interrupts[0] & INTMAP_IGN; /* Find interrupt group no */
/* Setup interrupt translation tables */
- sc->sc_intr2ipl = CPU_ISSUN4C
- ? intr_sbus2ipl_4c
- : intr_sbus2ipl_4m;
+ sc->sc_intr2ipl = intr_sbus2ipl_4u;
/*
* Record clock frequency for synchronous SCSI.