projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pci_set_mwi depends upon CONFIG_HAVE_PCI_SET_MWI
[librecmc/librecmc.git]
/
target
/
linux
/
generic-2.6
/
files
/
crypto
/
ocf
/
hifn
/
hifn7751.c
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 6136e84ef718ee1ce831cb79848e3829e9b40b1c..e7fd5bb5a36a6586d9664190e5464bc91da18e3a 100644
(file)
--- 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!");