mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 19:27:27 +00:00
pci_set_mwi depends upon CONFIG_HAVE_PCI_SET_MWI
SVN-Revision: 21849
This commit is contained in:
parent
e79f259abf
commit
e80e447944
@ -434,8 +434,10 @@ hifn_probe(struct pci_dev *dev, const struct pci_device_id *ent)
|
||||
if (pci_enable_device(dev) < 0)
|
||||
return(-ENODEV);
|
||||
|
||||
#ifdef CONFIG_HAVE_PCI_SET_MWI
|
||||
if (pci_set_mwi(dev))
|
||||
return(-ENODEV);
|
||||
#endif
|
||||
|
||||
if (!dev->irq) {
|
||||
printk("hifn: found device with no IRQ assigned. check BIOS settings!");
|
||||
|
Loading…
Reference in New Issue
Block a user