From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: linuxppc-dev@ozlabs.org
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Subject: [PATCH] sbc85xx: remove PCI exclude device for sbc8548/sbc8560
Date: Mon, 7 Jan 2008 17:40:18 -0500 [thread overview]
Message-ID: <1199745618755-git-send-email-paul.gortmaker@windriver.com> (raw)
In-Reply-To: <E22DFF32-E85B-4A58-89D4-E447BEB8BA28@kernel.crashing.org>
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 <paul.gortmaker@windriver.com>
---
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 <sysdev/fsl_soc.h>
#include <sysdev/fsl_pci.h>
-#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 <sysdev/cpm2_pic.h>
#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
next prev parent reply other threads:[~2008-01-07 22:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-21 6:43 [PATCH 0/3] Powerpc support for SBC8548 board Paul Gortmaker
[not found] ` <567bfb934387ec732a4c52c26efd17856f5144fd.1198217984.git.paul.gortmaker@windriver.com>
2007-12-21 6:43 ` [PATCH 1/3] sbc8548: Add basic support for Wind River SBC8548 as powerpc Paul Gortmaker
2007-12-21 15:32 ` Kumar Gala
2008-01-07 22:27 ` Paul Gortmaker
2008-01-07 22:40 ` Paul Gortmaker [this message]
2008-01-08 6:15 ` [PATCH] sbc85xx: remove PCI exclude device for sbc8548/sbc8560 Kumar Gala
[not found] ` <a9ccacef3dee433c1bc90cd73ef84ba26a2870bb.1198217984.git.paul.gortmaker@windriver.com>
2007-12-21 6:43 ` [PATCH 2/3] sbc8548: Add device tree source for Wind River SBC8548 board Paul Gortmaker
2007-12-21 15:33 ` Kumar Gala
2007-12-21 17:20 ` Paul Gortmaker
2007-12-22 2:05 ` David Gibson
[not found] ` <e954b4255110df8c9ac5c636af4ea4394ea1e953.1198217984.git.paul.gortmaker@windriver.com>
2007-12-21 6:43 ` [PATCH 3/3] sbc8548: Add default .config file for Wind River SBC8548 Paul Gortmaker
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=1199745618755-git-send-email-paul.gortmaker@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=linuxppc-dev@ozlabs.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;
as well as URLs for NNTP newsgroup(s).