diff options
author | Claudio Mignanti <c.mignanti@gmail.com> | 2010-06-20 14:04:45 +0000 |
---|---|---|
committer | Claudio Mignanti <c.mignanti@gmail.com> | 2010-06-20 14:04:45 +0000 |
commit | 185a84c5944286e5b10c1f38fc2ab657607f3891 (patch) | |
tree | 07bbb86d3fd04e1f36b854a66e685b2ded290f36 /target/linux/generic-2.6/files/crypto/ocf/hifn/hifnHIPP.c | |
parent | a3ea0b28fa27ed02ca620a74f355eab5d371168c (diff) | |
download | master-187ad058-185a84c5944286e5b10c1f38fc2ab657607f3891.tar.gz master-187ad058-185a84c5944286e5b10c1f38fc2ab657607f3891.tar.bz2 master-187ad058-185a84c5944286e5b10c1f38fc2ab657607f3891.zip |
[kernel] another #ifdef around pci_set_mwi call
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21854 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/files/crypto/ocf/hifn/hifnHIPP.c')
-rw-r--r-- | target/linux/generic-2.6/files/crypto/ocf/hifn/hifnHIPP.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/files/crypto/ocf/hifn/hifnHIPP.c b/target/linux/generic-2.6/files/crypto/ocf/hifn/hifnHIPP.c index a11b2368e7..802708d72c 100644 --- a/target/linux/generic-2.6/files/crypto/ocf/hifn/hifnHIPP.c +++ b/target/linux/generic-2.6/files/crypto/ocf/hifn/hifnHIPP.c @@ -208,8 +208,10 @@ hipp_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!"); |