All of lore.kernel.org
 help / color / mirror / Atom feed
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() 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

WARNING: multiple messages have this Message-ID (diff)
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: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-19 13:04 Bartlomiej Zolnierkiewicz [this message]
2009-01-19 13:04 ` [PATCH] mn10300: add pci_get_legacy_ide_irq() to <asm/pci.h> Bartlomiej Zolnierkiewicz

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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.