diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-08-05 05:38:23 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-08-05 05:38:23 +0000 |
commit | 5a7a5deabf1fd0ade0026fb6a75a3934e5d39c73 (patch) | |
tree | 8f930a23fa37ee919e1f58140abf64ac293e3f08 /sys/dev/pci | |
parent | b84d5bc37d77143ef2d39d1383dded98129f5da4 (diff) |
Make compile on alpha
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/ahc_pci.c | 11 |
1 files 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); |