From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.wrs.com (mail.windriver.com [147.11.1.11]) by ozlabs.org (Postfix) with ESMTP id 95805DDE17 for ; Tue, 8 Jan 2008 09:40:19 +1100 (EST) From: Paul Gortmaker To: linuxppc-dev@ozlabs.org Subject: [PATCH] sbc85xx: remove PCI exclude device for sbc8548/sbc8560 Date: Mon, 7 Jan 2008 17:40:18 -0500 Message-Id: <1199745618755-git-send-email-paul.gortmaker@windriver.com> In-Reply-To: References: Cc: Paul Gortmaker List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , The PCI exclude device for the sbc85xx boards was only filtering out the PHB and nothing else. This functionality is no longer required at a board specific level -- it is handled as a more global quirk now. Signed-off-by: Paul Gortmaker --- arch/powerpc/platforms/85xx/sbc8548.c | 13 ------------- arch/powerpc/platforms/85xx/sbc8560.c | 13 ------------- 2 files changed, 0 insertions(+), 26 deletions(-) diff --git a/arch/powerpc/platforms/85xx/sbc8548.c b/arch/powerpc/platforms/85xx/sbc8548.c index f3ab271..de27b57 100644 --- a/arch/powerpc/platforms/85xx/sbc8548.c +++ b/arch/powerpc/platforms/85xx/sbc8548.c @@ -49,17 +49,6 @@ #include #include -#ifdef CONFIG_PCI -static int sbc8548_exclude_device(struct pci_controller *hose, - u_char bus, u_char devfn) -{ - if (bus == 0 && PCI_SLOT(devfn) == 0) - return PCIBIOS_DEVICE_NOT_FOUND; - else - return PCIBIOS_SUCCESSFUL; -} -#endif - static void __init sbc8548_pic_init(void) { struct mpic *mpic; @@ -114,8 +103,6 @@ static void __init sbc8548_setup_arch(void) fsl_add_bridge(np, 0); } } - - ppc_md.pci_exclude_device = sbc8548_exclude_device; #endif } diff --git a/arch/powerpc/platforms/85xx/sbc8560.c b/arch/powerpc/platforms/85xx/sbc8560.c index 6aef38b..2030e87 100644 --- a/arch/powerpc/platforms/85xx/sbc8560.c +++ b/arch/powerpc/platforms/85xx/sbc8560.c @@ -37,17 +37,6 @@ #include #endif -#ifdef CONFIG_PCI -static int sbc8560_exclude_device(struct pci_controller *hose, - u_char bus, u_char devfn) -{ - if (bus == 0 && PCI_SLOT(devfn) == 0) - return PCIBIOS_DEVICE_NOT_FOUND; - else - return PCIBIOS_SUCCESSFUL; -} -#endif /* CONFIG_PCI */ - #ifdef CONFIG_CPM2 static void cpm2_cascade(unsigned int irq, struct irq_desc *desc) @@ -199,8 +188,6 @@ static void __init sbc8560_setup_arch(void) #ifdef CONFIG_PCI for_each_compatible_node(np, "pci", "fsl,mpc8540-pci") fsl_add_bridge(np, 1); - - ppc_md.pci_exclude_device = sbc8560_exclude_device; #endif } -- 1.5.0.rc1.gf4b6c