From 5b869bc71640b862bf003f9eea2fdae1eb935f36 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Tue, 12 Mar 2002 19:46:26 +0000 Subject: sparc64's aren't likely to be CPU_ISSUN4C --- sys/arch/sparc64/dev/sbus.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'sys/arch/sparc64/dev') 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. -- cgit v1.2.3