summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ix.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2011-06-18 21:19:45 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2011-06-18 21:19:45 +0000
commit4a538ec4b3c3c5ef98c2b1430a0e5753e307e87b (patch)
tree7596fb939a6e0d4954bc3a6f65c68ae3fc92c537 /sys/dev/pci/if_ix.c
parent476a8932c0974a677fe3d4bdeb0530623f892b1c (diff)
Use MSI interrupts when available. Tested by deraadt@ and jsg@.
Removing a leftover M from my tree makes also my machine happy.
Diffstat (limited to 'sys/dev/pci/if_ix.c')
-rw-r--r--sys/dev/pci/if_ix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ix.c b/sys/dev/pci/if_ix.c
index 176f8a9b0ef..fdcd8174cb3 100644
--- a/sys/dev/pci/if_ix.c
+++ b/sys/dev/pci/if_ix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ix.c,v 1.53 2011/06/15 00:03:00 dlg Exp $ */
+/* $OpenBSD: if_ix.c,v 1.54 2011/06/18 21:19:44 claudio Exp $ */
/******************************************************************************
@@ -1532,7 +1532,7 @@ ixgbe_allocate_legacy(struct ix_softc *sc)
pci_intr_handle_t ih;
/* We allocate a single interrupt resource */
- if (/* pci_intr_map_msi(pa, &ih) != 0 && */
+ if (pci_intr_map_msi(pa, &ih) != 0 &&
pci_intr_map(pa, &ih) != 0) {
printf(": couldn't map interrupt\n");
return (ENXIO);