aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of/address.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/of/address.c')
-rw-r--r--drivers/of/address.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/of/address.c b/drivers/of/address.c
index fdd0636a987d..b55c21890760 100644
--- a/drivers/of/address.c
+++ b/drivers/of/address.c
@@ -106,8 +106,12 @@ static unsigned int of_bus_default_get_flags(const __be32 *addr)
106 106
107static int of_bus_pci_match(struct device_node *np) 107static int of_bus_pci_match(struct device_node *np)
108{ 108{
109 /* "vci" is for the /chaos bridge on 1st-gen PCI powermacs */ 109 /*
110 return !strcmp(np->type, "pci") || !strcmp(np->type, "vci"); 110 * "vci" is for the /chaos bridge on 1st-gen PCI powermacs
111 * "ht" is hypertransport
112 */
113 return !strcmp(np->type, "pci") || !strcmp(np->type, "vci") ||
114 !strcmp(np->type, "ht");
111} 115}
112 116
113static void of_bus_pci_count_cells(struct device_node *np, 117static void of_bus_pci_count_cells(struct device_node *np,