projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
another #ifdef around pci_set_mwi call
[librecmc/librecmc.git]
/
target
/
linux
/
generic-2.6
/
files
/
crypto
/
ocf
/
hifn
/
hifnHIPP.c
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 a11b2368e7207f7c29eb0d547eca3ece645b25eb..802708d72c534c9af5f145e8e2042b8a189f364e 100644
(file)
--- 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!");