diff options
Diffstat (limited to 'arch/powerpc/platforms/chrp/pci.c')
-rw-r--r-- | arch/powerpc/platforms/chrp/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/chrp/pci.c b/arch/powerpc/platforms/chrp/pci.c index 768c262b9368..d3cde6b9d2df 100644 --- a/arch/powerpc/platforms/chrp/pci.c +++ b/arch/powerpc/platforms/chrp/pci.c | |||
@@ -260,13 +260,13 @@ chrp_find_bridges(void) | |||
260 | dev->full_name); | 260 | dev->full_name); |
261 | continue; | 261 | continue; |
262 | } | 262 | } |
263 | hose->first_busno = bus_range[0]; | 263 | hose->first_busno = hose->self_busno = bus_range[0]; |
264 | hose->last_busno = bus_range[1]; | 264 | hose->last_busno = bus_range[1]; |
265 | 265 | ||
266 | model = of_get_property(dev, "model", NULL); | 266 | model = of_get_property(dev, "model", NULL); |
267 | if (model == NULL) | 267 | if (model == NULL) |
268 | model = "<none>"; | 268 | model = "<none>"; |
269 | if (of_device_is_compatible(dev, "IBM,python")) { | 269 | if (strncmp(model, "IBM, Python", 11) == 0) { |
270 | setup_python(hose, dev); | 270 | setup_python(hose, dev); |
271 | } else if (is_mot | 271 | } else if (is_mot |
272 | || strncmp(model, "Motorola, Grackle", 17) == 0) { | 272 | || strncmp(model, "Motorola, Grackle", 17) == 0) { |