re: Don't enable MSI by default even for PCI-e chips
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 2 Apr 2013 03:14:02 +0000 (11:14 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 2 Apr 2013 03:14:02 +0000 (11:14 +0800)
It causes more troubles than the benefits it brings for us; it causes
watchdog, due to loosing interrupt, on certain PCI-e chips.

DragonFly-bug: http://bugs.dragonflybsd.org/issues/2533

sys/dev/netif/re/if_re.c

index 04902c6..172848b 100644 (file)
@@ -391,7 +391,7 @@ DRIVER_MODULE(miibus, re, miibus_driver, miibus_devclass, NULL, NULL);
 
 static int     re_rx_desc_count = RE_RX_DESC_CNT_DEF;
 static int     re_tx_desc_count = RE_TX_DESC_CNT_DEF;
-static int     re_msi_enable = 1;
+static int     re_msi_enable = 0;
 
 TUNABLE_INT("hw.re.rx_desc_count", &re_rx_desc_count);
 TUNABLE_INT("hw.re.tx_desc_count", &re_tx_desc_count);