From 5a7a5deabf1fd0ade0026fb6a75a3934e5d39c73 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Tue, 5 Aug 1997 05:38:23 +0000 Subject: Make compile on alpha --- sys/dev/pci/ahc_pci.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sys/dev/pci/ahc_pci.c b/sys/dev/pci/ahc_pci.c index dedcac774a7..abf7a4c37f3 100644 --- a/sys/dev/pci/ahc_pci.c +++ b/sys/dev/pci/ahc_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ahc_pci.c,v 1.6 1996/11/28 23:28:01 niklas Exp $ */ +/* $OpenBSD: ahc_pci.c,v 1.7 1997/08/05 05:38:22 niklas Exp $ */ /* $NetBSD: ahc_pci.c,v 1.9 1996/10/21 22:56:24 thorpej Exp $ */ /* @@ -458,11 +458,12 @@ ahc_pci_attach(parent, self, aux) return; } intrstr = pci_intr_string(pa->pa_pc, ih); - ahc->sc_ih = pci_intr_establish(pa->pa_pc, ih, IPL_BIO, ahc_intr, ahc -#ifdef __OpenBSD__ - , ahc->sc_dev.dv_xname +#ifndef __OpenBSD__ + ahc->sc_ih = pci_intr_establish(pa->pa_pc, ih, IPL_BIO, ahc_intr, ahc); +#else + ahc->sc_ih = pci_intr_establish(pa->pa_pc, ih, IPL_BIO, ahc_intr, ahc, + ahc->sc_dev.dv_xname); #endif - ); if (ahc->sc_ih == NULL) { printf("%s: couldn't establish interrupt", ahc->sc_dev.dv_xname); -- cgit v1.2.3