summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorclaudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-20 12:41:22 +0000
committerclaudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-20 12:41:22 +0000
commitd8e37c68cc8a8d8888900b35f679bc79b01735e6 (patch)
tree116c65f319d2c33ddad18eef9348449a59c1a06f /target
parent390543dc5acbf7716d03fce88106aa0dbfb2026c (diff)
[kernel] pci_set_mwi depends upon CONFIG_HAVE_PCI_SET_MWI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21849 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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 6136e84ef..e7fd5bb5a 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!");