* [PATCH] mn10300: add pci_get_legacy_ide_irq() to <asm/pci.h>
@ 2009-01-19 13:04 Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; only message in thread
From: Bartlomiej Zolnierkiewicz @ 2009-01-19 13:04 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-ide, David Howells
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>Subject: [PATCH] mn10300: add pci_get_legacy_ide_irq() to <asm/pci.h>
Add missing pci_get_legacy_ide_irq() implementationbefore it becomes required by core IDE PCI code.
Cc: David Howells <dhowells@redhat.com>Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>--- include/asm-mn10300/pci.h | 5 +++++ 1 file changed, 5 insertions(+)
Index: b/include/asm-mn10300/pci.h===================================================================--- a/include/asm-mn10300/pci.h+++ b/include/asm-mn10300/pci.h@@ -121,4 +121,9 @@ pcibios_select_root(struct pci_dev *pdev #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 */\0ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-19 13:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-19 13:04 [PATCH] mn10300: add pci_get_legacy_ide_irq() to <asm/pci.h> Bartlomiej Zolnierkiewicz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox