From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: linux-ide@vger.kernel.org, David Howells <dhowells@redhat.com>
Subject: [PATCH] mn10300: add pci_get_legacy_ide_irq() to <asm/pci.h>
Date: Mon, 19 Jan 2009 14:04:51 +0100 [thread overview]
Message-ID: <200901191404.51686.bzolnier@gmail.com> (raw)
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¥
reply other threads:[~2009-01-19 13:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200901191404.51686.bzolnier@gmail.com \
--to=bzolnier@gmail.com \
--cc=dhowells@redhat.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox