summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authornate <nate@openbsd.org>2001-09-05 20:58:54 +0000
committernate <nate@openbsd.org>2001-09-05 20:58:54 +0000
commit8ffb8462d93a937d48617fbcbf07c7f85d75476a (patch)
tree30547fecbb52c63fc934b16465b344d88f54ea28 /sys
parentadd lge (diff)
downloadwireguard-openbsd-8ffb8462d93a937d48617fbcbf07c7f85d75476a.tar.xz
wireguard-openbsd-8ffb8462d93a937d48617fbcbf07c7f85d75476a.zip
fix pci_intr_map so that it uses the new interface
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_lge.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/if_lge.c b/sys/dev/pci/if_lge.c
index 4fd161b2496..22b4401d678 100644
--- a/sys/dev/pci/if_lge.c
+++ b/sys/dev/pci/if_lge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_lge.c,v 1.1 2001/09/04 20:36:38 nate Exp $ */
+/* $OpenBSD: if_lge.c,v 1.2 2001/09/05 20:58:54 nate Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2000, 2001
@@ -553,8 +553,7 @@ void lge_attach(parent, self, aux)
#endif
DPRINTFN(5, ("pci_intr_map\n"));
- if (pci_intr_map(pc, pa->pa_intrtag, pa->pa_intrpin,
- pa->pa_intrline, &ih)) {
+ if (pci_intr_map(pa, &ih)) {
printf(": couldn't map interrupt\n");
goto fail;
}