git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
include
/
asm-generic
/
pci.h
diff --git
a/include/asm-generic/pci.h
b/include/asm-generic/pci.h
index
40cca57
..
9d4cc47
100644
(file)
--- a/
include/asm-generic/pci.h
+++ b/
include/asm-generic/pci.h
@@
-24,4
+24,11
@@
pcibios_resource_to_bus(struct pci_dev *dev, struct pci_bus_region *region,
#define pcibios_scan_all_fns(a, b) 0
+#ifndef HAVE_ARCH_PCI_GET_LEGACY_IDE_IRQ
+static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
+{
+ return channel ? 15 : 14;
+}
+#endif /* HAVE_ARCH_PCI_GET_LEGACY_IDE_IRQ */
+
#endif