summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-07-06 16:06:48 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-07-06 16:06:48 +0000
commitfd05853dd01f54453ce3036cb632a42545073848 (patch)
treeecccf24dd95b29a3284407d88cb77b2a27e0a231
parent39f6d5826a2160b00d4b73019b4777a3482379a8 (diff)
Make compile (fxp now probes OK on alpha)
-rw-r--r--sys/dev/pci/if_fxp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/pci/if_fxp.c b/sys/dev/pci/if_fxp.c
index b8e96f83a42..911af0e3f59 100644
--- a/sys/dev/pci/if_fxp.c
+++ b/sys/dev/pci/if_fxp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_fxp.c,v 1.4 1997/07/06 14:30:57 niklas Exp $ */
+/* $OpenBSD: if_fxp.c,v 1.5 1997/07/06 16:06:47 niklas Exp $ */
/* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */
/*
@@ -356,11 +356,12 @@ fxp_attach(parent, self, aux)
return;
}
intrstr = pci_intr_string(pc, ih);
- sc->sc_ih = pci_intr_establish(pc, ih, IPL_NET, fxp_intr, sc
#ifdef __OpenBSD__
- , self->dv_xname
+ sc->sc_ih = pci_intr_establish(pc, ih, IPL_NET, fxp_intr, sc,
+ self->dv_xname);
+#else
+ sc->sc_ih = pci_intr_establish(pc, ih, IPL_NET, fxp_intr, sc);
#endif
- );
if (sc->sc_ih == NULL) {
printf("%s: couldn't establish interrupt",
sc->sc_dev.dv_xname);