projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
327fa1c
)
mn10300: add pci_get_legacy_ide_irq() to <asm/pci.h>
author
Bartlomiej Zolnierkiewicz
<
[email protected]
>
Tue, 24 Mar 2009 22:22:48 +0000
(23:22 +0100)
committer
Bartlomiej Zolnierkiewicz
<
[email protected]
>
Tue, 24 Mar 2009 22:22:48 +0000
(23:22 +0100)
Add missing pci_get_legacy_ide_irq() implementation
before it becomes required by core IDE PCI code.
Cc: David Howells <
[email protected]
>
Signed-off-by: Bartlomiej Zolnierkiewicz <
[email protected]
>
include/asm-mn10300/pci.h
patch
|
blob
|
history
diff --git
a/include/asm-mn10300/pci.h
b/include/asm-mn10300/pci.h
index cd9cc5c89cea9f524c5d1b4db02f45daff950231..0517b45313d862e9107367d84d87233554389611 100644
(file)
--- a/
include/asm-mn10300/pci.h
+++ b/
include/asm-mn10300/pci.h
@@
-121,4
+121,9
@@
pcibios_select_root(struct pci_dev *pdev, struct resource *res)
#define pcibios_scan_all_fns(a, b) 0
+static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
+{
+ return channel ? 15 : 14;
+}
+
#endif /* _ASM_PCI_H */