aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files
diff options
context:
space:
mode:
authorClaudio Mignanti <c.mignanti@gmail.com>2010-06-20 14:04:45 +0000
committerClaudio Mignanti <c.mignanti@gmail.com>2010-06-20 14:04:45 +0000
commit738b30afeba9c66ef4e0a30d80ee156b729cd45c (patch)
tree9f6d14568bdee41b606eb521c3358c1d44797985 /target/linux/generic-2.6/files
parent5181a82334d53eca52a03d9349a9f89dce57722e (diff)
downloadupstream-738b30afeba9c66ef4e0a30d80ee156b729cd45c.tar.gz
upstream-738b30afeba9c66ef4e0a30d80ee156b729cd45c.tar.bz2
upstream-738b30afeba9c66ef4e0a30d80ee156b729cd45c.zip
another #ifdef around pci_set_mwi call
SVN-Revision: 21854
Diffstat (limited to 'target/linux/generic-2.6/files')
-rw-r--r--target/linux/generic-2.6/files/crypto/ocf/hifn/hifnHIPP.c2
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!");