提交 d8f1324a 编写于 作者: K Kumar Gala

[POWERPC] 83xx: Removed PCI exclude of PHB

Now that the generic code doesn't assign resources for Freescale
PHBs we dont have to explicitly exclude it.
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 1b3c5cda
...@@ -45,8 +45,6 @@ static void __init mpc8313_rdb_setup_arch(void) ...@@ -45,8 +45,6 @@ static void __init mpc8313_rdb_setup_arch(void)
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;)
mpc83xx_add_bridge(np); mpc83xx_add_bridge(np);
ppc_md.pci_exclude_device = mpc83xx_exclude_device;
#endif #endif
mpc831x_usb_cfg(); mpc831x_usb_cfg();
} }
......
...@@ -75,7 +75,6 @@ static void __init mpc832x_sys_setup_arch(void) ...@@ -75,7 +75,6 @@ static void __init mpc832x_sys_setup_arch(void)
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;)
mpc83xx_add_bridge(np); mpc83xx_add_bridge(np);
ppc_md.pci_exclude_device = mpc83xx_exclude_device;
#endif #endif
#ifdef CONFIG_QUICC_ENGINE #ifdef CONFIG_QUICC_ENGINE
......
...@@ -49,8 +49,6 @@ static void __init mpc832x_rdb_setup_arch(void) ...@@ -49,8 +49,6 @@ static void __init mpc832x_rdb_setup_arch(void)
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;)
mpc83xx_add_bridge(np); mpc83xx_add_bridge(np);
ppc_md.pci_exclude_device = mpc83xx_exclude_device;
#endif #endif
#ifdef CONFIG_QUICC_ENGINE #ifdef CONFIG_QUICC_ENGINE
......
...@@ -54,8 +54,6 @@ static void __init mpc834x_itx_setup_arch(void) ...@@ -54,8 +54,6 @@ static void __init mpc834x_itx_setup_arch(void)
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;)
mpc83xx_add_bridge(np); mpc83xx_add_bridge(np);
ppc_md.pci_exclude_device = mpc83xx_exclude_device;
#endif #endif
mpc834x_usb_cfg(); mpc834x_usb_cfg();
......
...@@ -85,8 +85,6 @@ static void __init mpc834x_mds_setup_arch(void) ...@@ -85,8 +85,6 @@ static void __init mpc834x_mds_setup_arch(void)
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;)
mpc83xx_add_bridge(np); mpc83xx_add_bridge(np);
ppc_md.pci_exclude_device = mpc83xx_exclude_device;
#endif #endif
mpc834xemds_usb_cfg(); mpc834xemds_usb_cfg();
......
...@@ -81,7 +81,6 @@ static void __init mpc836x_mds_setup_arch(void) ...@@ -81,7 +81,6 @@ static void __init mpc836x_mds_setup_arch(void)
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;)
mpc83xx_add_bridge(np); mpc83xx_add_bridge(np);
ppc_md.pci_exclude_device = mpc83xx_exclude_device;
#endif #endif
#ifdef CONFIG_QUICC_ENGINE #ifdef CONFIG_QUICC_ENGINE
......
...@@ -49,8 +49,6 @@ ...@@ -49,8 +49,6 @@
*/ */
extern int mpc83xx_add_bridge(struct device_node *dev); extern int mpc83xx_add_bridge(struct device_node *dev);
extern int mpc83xx_exclude_device(struct pci_controller *hose,
u_char bus, u_char devfn);
extern void mpc83xx_restart(char *cmd); extern void mpc83xx_restart(char *cmd);
extern long mpc83xx_time_init(void); extern long mpc83xx_time_init(void);
extern int mpc834x_usb_cfg(void); extern int mpc834x_usb_cfg(void);
......
...@@ -33,13 +33,6 @@ ...@@ -33,13 +33,6 @@
#define DBG(x...) #define DBG(x...)
#endif #endif
int mpc83xx_exclude_device(struct pci_controller *hose, u_char bus, u_char devfn)
{
if ((bus == hose->first_busno) && PCI_SLOT(devfn) == 0)
return PCIBIOS_DEVICE_NOT_FOUND;
return PCIBIOS_SUCCESSFUL;
}
int __init mpc83xx_add_bridge(struct device_node *dev) int __init mpc83xx_add_bridge(struct device_node *dev)
{ {
int len; int len;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册