From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761018AbZASNJh (ORCPT ); Mon, 19 Jan 2009 08:09:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760057AbZASNJ1 (ORCPT ); Mon, 19 Jan 2009 08:09:27 -0500 Received: from mail-bw0-f21.google.com ([209.85.218.21]:42026 "EHLO mail-bw0-f21.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759914AbZASNJ0 (ORCPT ); Mon, 19 Jan 2009 08:09:26 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; b=Mw4hdUVZSEt1vvFd+l9I4VbS1qF5Ufh30AYaJ4M/PYUXNZyxFok0pc+wOFvjP2XUu/ KwxEPXeUy3ls4KNvwEhQ6IYE/LuAlNk0QGAe5Vjdt0CpT6CDAmJsNt6x2Al3RoJX0HjJ tsKVgJjNwM81HFpuHhYCcCRRqbsDiNVIIG4Ro= From: Bartlomiej Zolnierkiewicz To: linux-kernel@vger.kernel.org Subject: [PATCH] mn10300: add pci_get_legacy_ide_irq() to Date: Mon, 19 Jan 2009 14:04:51 +0100 User-Agent: KMail/1.10.3 (Linux/2.6.29-rc1-next-20090116; KDE/4.1.3; i686; ; ) Cc: linux-ide@vger.kernel.org, David Howells MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Message-Id: <200901191404.51686.bzolnier@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by alpha id n0JD9ewM016344 From: Bartlomiej Zolnierkiewicz Subject: [PATCH] mn10300: add pci_get_legacy_ide_irq() to Add missing pci_get_legacy_ide_irq() implementationbefore it becomes required by core IDE PCI code. Cc: David Howells Signed-off-by: Bartlomiej Zolnierkiewicz --- 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 */{.n++%ݶw{.n+{G{ayʇڙ,jfhz_(階ݢj"mG?&~iOzv^m ?I