pci_setup_cardbus(struct pci_bus *bus) 
void pci_setup_cardbus(struct pci_bus *bus) 
pci_setup_cardbus(struct pci_bus *bus){	struct pci_dev *bridge = bus->self;	struct pci_bus_region region;	printk("PCI: Bus %d, cardbus bridge: %s\n",		bus->number, pci_name(bridge));	pcibios_resource_to_bus(bridge, &region, bus->resource[0]);	if (bus->resource[0]->flags & IORESOURCE_IO) {		/*		 * The IO resource is allocated a range twice as large as it		 * would normally need.  This allows us to set both IO regs.		 */		printk("  IO window: %08lx-%08lx\n",			region.start, region.end);		pci_write_config_dword(bridge, PCI_CB_IO_BASE_0,					region.start);		pci_write_config_dword(bridge, PCI_CB_IO_LIMIT_0,					region.end);	}	pcibios_resource_to_bus(bridge, &region, bus->resource[1]);	if (bus->resource[1]->flags & IORESOURCE_IO) {		printk("  IO window: %08lx-%08lx\n",			region.start, region.end);		pci_write_config_dword(bridge, PCI_CB_IO_BASE_1,					region.start);		pci_write_config_dword(bridge, PCI_CB_IO_LIMIT_1,					region.end);	}	pcibios_resource_to_bus(bridge, &region, bus->resource[2]);	if (bus->resource[2]->flags & IORESOURCE_MEM) {		printk("  PREFETCH window: %08lx-%08lx\n",			region.start, region.end);		pci_write_config_dword(bridge, PCI_CB_MEMORY_BASE_0,					region.start);		pci_write_config_dword(bridge, PCI_CB_MEMORY_LIMIT_0,					region.end);	}	pcibios_resource_to_bus(bridge, &region, bus->resource[3]);	if (bus->resource[3]->flags & IORESOURCE_MEM) {		printk("  MEM window: %08lx-%08lx\n",			region.start, region.end);		pci_write_config_dword(bridge, PCI_CB_MEMORY_BASE_1,					region.start);		pci_write_config_dword(bridge, PCI_CB_MEMORY_LIMIT_1,					region.end);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b3743fa4442fc172e950ff0eaf6aa96e7d5ce9be/setup-bus.c/clean/drivers/pci/setup-bus.c