aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files/crypto
diff options
context:
space:
mode:
authorClaudio Mignanti <c.mignanti@gmail.com>2010-06-20 12:41:22 +0000
committerClaudio Mignanti <c.mignanti@gmail.com>2010-06-20 12:41:22 +0000
commite80e447944311f3057cf1140f4ce23bdd90de2c4 (patch)
tree5e8ea2c45c577a3cbe8ae568014835d7599e85fa /target/linux/generic-2.6/files/crypto
parente79f259abfa50f032ff1727de42dbf9a8df6da60 (diff)
downloadupstream-e80e447944311f3057cf1140f4ce23bdd90de2c4.tar.gz
upstream-e80e447944311f3057cf1140f4ce23bdd90de2c4.tar.bz2
upstream-e80e447944311f3057cf1140f4ce23bdd90de2c4.zip
pci_set_mwi depends upon CONFIG_HAVE_PCI_SET_MWI
SVN-Revision: 21849
Diffstat (limited to 'target/linux/generic-2.6/files/crypto')
-rw-r--r--target/linux/generic-2.6/files/crypto/ocf/hifn/hifn7751.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/files/crypto/ocf/hifn/hifn7751.c b/target/linux/generic-2.6/files/crypto/ocf/hifn/hifn7751.c
index 6136e84ef7..e7fd5bb5a3 100644
--- a/target/linux/generic-2.6/files/crypto/ocf/hifn/hifn7751.c
+++ b/target/linux/generic-2.6/files/crypto/ocf/hifn/hifn7751.c
@@ -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!");