From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: linuxppc-dev@ozlabs.org
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Subject: [PATCH 5/5] sbc85xx: remove PCI exclude device for sbc8548/sbc8560
Date: Wed, 9 Jan 2008 00:18:30 -0500 [thread overview]
Message-ID: <11998559142028-git-send-email-paul.gortmaker@windriver.com> (raw)
Message-ID: <c5cc1c9274b620f983c70674b957c9d558689591.1199854466.git.paul.gortmaker@windriver.com> (raw)
In-Reply-To: <11998559133555-git-send-email-paul.gortmaker@windriver.com>
In-Reply-To: <93a0b006474cd6884392682c82b232fc2aea7794.1199854466.git.paul.gortmaker@windriver.com>
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-09 5:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-09 5:18 [PATCH 0/5] Powerpc support for SBC8548 board Paul Gortmaker
2008-01-09 5:18 ` [PATCH 1/5] sbc8548: Add basic support for Wind River SBC8548 as powerpc Paul Gortmaker
2008-01-09 5:18 ` Paul Gortmaker
2008-01-09 5:18 ` [PATCH 2/5] sbc8548: Add device tree source for Wind River SBC8548 board Paul Gortmaker
2008-01-09 5:18 ` Paul Gortmaker
2008-01-09 5:18 ` [PATCH 3/5] sbc8548: Add default .config file for Wind River SBC8548 Paul Gortmaker
2008-01-09 5:18 ` Paul Gortmaker
2008-01-09 5:18 ` [PATCH 4/5] sbc8548: Convert device tree to be dts-v1 compatible Paul Gortmaker
2008-01-09 5:18 ` Paul Gortmaker
2008-01-09 5:18 ` Paul Gortmaker [this message]
2008-01-09 5:18 ` [PATCH 5/5] sbc85xx: remove PCI exclude device for sbc8548/sbc8560 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=11998559142028-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 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.