diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-05-07 00:17:41 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-05-07 00:17:41 +0000 |
commit | 06ad00d7d9b5a426626ce2735a368a13b8ff7823 (patch) | |
tree | 766328a5fdab1352ecef7bbb52810d9571768527 /sys | |
parent | 30daed8a51f90b7e068b2f723bfaa812846bfa6a (diff) |
call pci_intr_establish correctly
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_en_pci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_en_pci.c b/sys/dev/pci/if_en_pci.c index db13e03ea96..9f3cf17786e 100644 --- a/sys/dev/pci/if_en_pci.c +++ b/sys/dev/pci/if_en_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_en_pci.c,v 1.4 1997/03/20 22:03:45 chuck Exp $ */ +/* $OpenBSD: if_en_pci.c,v 1.5 1997/05/07 00:17:40 niklas Exp $ */ /* * @@ -220,7 +220,8 @@ void *aux; return; } intrstr = pci_intr_string(scp->en_pc, ih); - scp->sc_ih = pci_intr_establish(scp->en_pc, ih, IPL_NET, en_intr, sc); + scp->sc_ih = pci_intr_establish(scp->en_pc, ih, IPL_NET, en_intr, sc, + sc->sc_dev.dv_xname); if (scp->sc_ih == NULL) { printf("%s: couldn't establish interrupt\n", sc->sc_dev.dv_xname); if (intrstr != NULL) |