pci.c (48a7afe314bfc4d7f50e1608632f503dbba7e013) | pci.c (55b61fec22caa3e7872caea6c4100fc75cb8f49b) |
---|---|
1/* 2 * CHRP pci routines. 3 */ 4 5#include <linux/kernel.h> 6#include <linux/pci.h> 7#include <linux/delay.h> 8#include <linux/string.h> --- 253 unchanged lines hidden (view full) --- 262 } 263 hose->arch_data = dev; 264 hose->first_busno = bus_range[0]; 265 hose->last_busno = bus_range[1]; 266 267 model = of_get_property(dev, "model", NULL); 268 if (model == NULL) 269 model = "<none>"; | 1/* 2 * CHRP pci routines. 3 */ 4 5#include <linux/kernel.h> 6#include <linux/pci.h> 7#include <linux/delay.h> 8#include <linux/string.h> --- 253 unchanged lines hidden (view full) --- 262 } 263 hose->arch_data = dev; 264 hose->first_busno = bus_range[0]; 265 hose->last_busno = bus_range[1]; 266 267 model = of_get_property(dev, "model", NULL); 268 if (model == NULL) 269 model = "<none>"; |
270 if (device_is_compatible(dev, "IBM,python")) { | 270 if (of_device_is_compatible(dev, "IBM,python")) { |
271 setup_python(hose, dev); 272 } else if (is_mot 273 || strncmp(model, "Motorola, Grackle", 17) == 0) { 274 setup_grackle(hose); 275 } else if (is_longtrail) { 276 void __iomem *p = ioremap(GG2_PCI_CONFIG_BASE, 0x80000); 277 hose->ops = &gg2_pci_ops; 278 hose->cfg_data = p; --- 62 unchanged lines hidden --- | 271 setup_python(hose, dev); 272 } else if (is_mot 273 || strncmp(model, "Motorola, Grackle", 17) == 0) { 274 setup_grackle(hose); 275 } else if (is_longtrail) { 276 void __iomem *p = ioremap(GG2_PCI_CONFIG_BASE, 0x80000); 277 hose->ops = &gg2_pci_ops; 278 hose->cfg_data = p; --- 62 unchanged lines hidden --- |