Skip to contentSkip to conversation

85xxCDS: Delete the PCI exclude function.

PATCH New Randy Vinson 1 participant 1 message Aug 1, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 85xxCDS: Delete the PCI exclude function.

Quoted 1 line

From 8367fd9e98a97ba680d23bf59fa03fcd930dd9e1 Mon Sep 17 00:00:00 2001

From: Randy Vinson <[email protected]>
Date: Wed, 1 Aug 2007 16:24:48 -0700
Subject: [PATCH] 85xxCDS: Delete the PCI exclude function.

Now that the FPGA on the 85xxCDS main board has a quirk, we no longer need an exclude routine.

---
 arch/powerpc/platforms/85xx/mpc85xx_cds.c |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)
arch/powerpc/platforms/85xx/mpc85xx_cds.c +0 -16
index 6a171e9..d7ee380 100644
@@ -54,21 +54,6 @@ static volatile u8 *cadmus;
 
 #ifdef CONFIG_PCI
 
-#define ARCADIA_HOST_BRIDGE_IDSEL	17
-#define ARCADIA_2ND_BRIDGE_IDSEL	3
-
-static int mpc85xx_exclude_device(struct pci_controller *hose,
-				  u_char bus, u_char devfn)
-{
-	/* We explicitly do not go past the Tundra 320 Bridge */
-	if ((bus == 1) && (PCI_SLOT(devfn) == ARCADIA_2ND_BRIDGE_IDSEL))
-		return PCIBIOS_DEVICE_NOT_FOUND;
-	if ((bus == 0) && (PCI_SLOT(devfn) == ARCADIA_2ND_BRIDGE_IDSEL))
-		return PCIBIOS_DEVICE_NOT_FOUND;
-	else
-		return PCIBIOS_SUCCESSFUL;
-}
-
 static void mpc85xx_cds_restart(char *cmd)
 {
 	struct pci_dev *dev;
@@ -306,7 +291,6 @@ static void __init mpc85xx_cds_setup_arch(void)
 			fsl_add_bridge(np, 0);
 	}
 	ppc_md.pci_irq_fixup = mpc85xx_cds_pci_irq_fixup;
-	ppc_md.pci_exclude_device = mpc85xx_exclude_device;
 #endif
 }
 
Signature · 1 line
1.5.3.rc2.22.g69a9b