Skip to contentSkip to conversation

prism54 use set_pci_mwi()

PATCH Arjan van de Ven 1 participant 1 message Jul 5, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

drivers/net/wireless/prism54/islpci_hotplug.c line 326

Quoted 11 lines

diff -Nru a/drivers/net/wireless/prism54/islpci_hotplug.c b/drivers/net/wireless/prism54/islpci_hotplug.c

drivers/net/wireless/prism54/islpci_hotplug.c +3 -0
@@ -321,6 +321,9 @@
 	DEBUG(SHOW_TRACING, "%s: pci_set_master(pdev)\n", DRV_NAME);
 	pci_set_master(pdev);
 
+	/* enable MWI */
+	pci_set_mwi(pdev);
+

pci_set_mwi() has a return value that you're supposed to check.....