mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 21:09:53 +02:00
[kernel] pci_set_mwi depends upon CONFIG_HAVE_PCI_SET_MWI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21849 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
390543dc5a
commit
d8e37c68cc
@ -434,8 +434,10 @@ hifn_probe(struct pci_dev *dev, const struct pci_device_id *ent)
|
|||||||
if (pci_enable_device(dev) < 0)
|
if (pci_enable_device(dev) < 0)
|
||||||
return(-ENODEV);
|
return(-ENODEV);
|
||||||
|
|
||||||
|
#ifdef CONFIG_HAVE_PCI_SET_MWI
|
||||||
if (pci_set_mwi(dev))
|
if (pci_set_mwi(dev))
|
||||||
return(-ENODEV);
|
return(-ENODEV);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!dev->irq) {
|
if (!dev->irq) {
|
||||||
printk("hifn: found device with no IRQ assigned. check BIOS settings!");
|
printk("hifn: found device with no IRQ assigned. check BIOS settings!");
|
||||||
|
Loading…
Reference in New Issue
Block a user