]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/platforms/chrp/pci.c
Merge branch 'core-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-omap-h63xx.git] / arch / powerpc / platforms / chrp / pci.c
index 768c262b936891eeaebb361a1c2612e8ef429588..d3cde6b9d2df68046eaa41512676ed50fea78c66 100644 (file)
@@ -260,13 +260,13 @@ chrp_find_bridges(void)
                                dev->full_name);
                        continue;
                }
-               hose->first_busno = bus_range[0];
+               hose->first_busno = hose->self_busno = bus_range[0];
                hose->last_busno = bus_range[1];
 
                model = of_get_property(dev, "model", NULL);
                if (model == NULL)
                        model = "<none>";
-               if (of_device_is_compatible(dev, "IBM,python")) {
+               if (strncmp(model, "IBM, Python", 11) == 0) {
                        setup_python(hose, dev);
                } else if (is_mot
                           || strncmp(model, "Motorola, Grackle", 17) == 0) {