From 73fc852cefb6350331d24c7821930628f260e1e7 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Tue, 12 Dec 2006 19:18:53 +0000 Subject: Use appropriate macros to decode IGN. --- sys/arch/sparc64/dev/schizo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/sparc64') 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; -- cgit v1.2.3