pci_set_mwi depends upon CONFIG_HAVE_PCI_SET_MWI

SVN-Revision: 21849
owl
Claudio Mignanti 2010-06-20 12:41:22 +00:00
parent e79f259abf
commit e80e447944
1 changed files with 2 additions and 0 deletions

View File

@ -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!");