linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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() implementation
before 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

^ 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;
as well as URLs for NNTP newsgroup(s).