summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-10-09 09:34:18 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-10-09 09:34:18 +0000
commitf387b4ebff728710101ffddf06a3d18e4a607777 (patch)
tree60d546438142cd47b38f7c37c5755caccddce864 /sys/dev
parent4c2eb23d12746fcfef7eadb0a029d6c3260b969b (diff)
Revert "enable MSI support", it introduced a regression on some chips.
Theo Buehler reported some connectivity lost with a Yukon-2 EC 88E8053 on tech@ and I could reproduce it with Yukon-2 FE 88E8036. Discussed with brad@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_msk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_msk.c b/sys/dev/pci/if_msk.c
index 8bff6b82675..72624d221fd 100644
--- a/sys/dev/pci/if_msk.c
+++ b/sys/dev/pci/if_msk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_msk.c,v 1.108 2014/10/04 18:20:50 brad Exp $ */
+/* $OpenBSD: if_msk.c,v 1.109 2014/10/09 09:34:17 mpi Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -1136,7 +1136,7 @@ mskc_attach(struct device *parent, struct device *self, void *aux)
DPRINTFN(2, ("mskc_attach: allocate interrupt\n"));
/* Allocate interrupt */
- if (pci_intr_map_msi(pa, &ih) != 0 && pci_intr_map(pa, &ih) != 0) {
+ if (pci_intr_map(pa, &ih)) {
printf(": couldn't map interrupt\n");
goto fail_1;
}