another #ifdef around pci_set_mwi call
SVN-Revision: 21854
This commit is contained in:
@@ -208,8 +208,10 @@ hipp_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!");
|
||||||
|
|||||||
Reference in New Issue
Block a user