summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2014-02-19 07:15:46 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2014-02-19 07:15:46 +0000
commit366d333c5522bf34280f241b237ec20c596defc6 (patch)
tree2ecf0030ebc5ef5b7936249db1d117365bdfb411 /sys/dev
parentc7ca128b48e50400d4a29309c0763c0c0092ada5 (diff)
qle seems fine with msi interrupts
ok jmatthew@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/qle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/qle.c b/sys/dev/pci/qle.c
index da14e377ede..14ecaeaf59b 100644
--- a/sys/dev/pci/qle.c
+++ b/sys/dev/pci/qle.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qle.c,v 1.7 2014/02/17 03:57:20 dlg Exp $ */
+/* $OpenBSD: qle.c,v 1.8 2014/02/19 07:15:45 dlg Exp $ */
/*
* Copyright (c) 2013, 2014 Jonathan Matthew <jmatthew@openbsd.org>
@@ -357,7 +357,7 @@ qle_attach(struct device *parent, struct device *self, void *aux)
return;
}
- if (pci_intr_map(pa, &ih)) {
+ if (pci_intr_map_msi(pa, &ih) != 0 && pci_intr_map(pa, &ih) != 0) {
printf(": unable to map interrupt\n");
goto unmap;
}