summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2006-12-12 19:18:53 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2006-12-12 19:18:53 +0000
commit73fc852cefb6350331d24c7821930628f260e1e7 (patch)
tree7060c09f97336a65c3d4a06eab02ed368cd443b6 /sys/arch/sparc64/dev
parent5c39e5187dc8cbba61dd6fbae73b1e9e7f9cceaf (diff)
Use appropriate macros to decode IGN.
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r--sys/arch/sparc64/dev/schizo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/schizo.c b/sys/arch/sparc64/dev/schizo.c
index 66c7ffef322..3f38552102f 100644
--- a/sys/arch/sparc64/dev/schizo.c
+++ b/sys/arch/sparc64/dev/schizo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: schizo.c,v 1.35 2006/08/27 18:55:57 kettenis Exp $ */
+/* $OpenBSD: schizo.c,v 1.36 2006/12/12 19:18:52 kettenis Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -134,7 +134,7 @@ schizo_attach(struct device *parent, struct device *self, void *aux)
sc->sc_dmat = ma->ma_dmatag;
sc->sc_bust = ma->ma_bustag;
sc->sc_ctrl = ma->ma_reg[1].ur_paddr - 0x10000UL;
- sc->sc_ign = ma->ma_upaid << 6;
+ sc->sc_ign = INTIGN(ma->ma_upaid << INTMAP_IGN_SHIFT);
if ((ma->ma_reg[0].ur_paddr & 0x00700000) == 0x00600000)
busa = 1;