/* We can't ioremap the entire pci config space because it's too large. Nor can we call ioremap dynamically because some device drivers use the PCI config routines from within interrupt handlers and that becomes a problem in get_vm_area(). We use one wired TLB to handle all config accesses for all busses.  */
void __init au1x_pci_cfg_init(void)
/* We can't ioremap the entire pci config space because it's too large. Nor can we call ioremap dynamically because some device drivers use the PCI config routines from within interrupt handlers and that becomes a problem in get_vm_area(). We use one wired TLB to handle all config accesses for all busses.  */
void __init au1x_pci_cfg_init(void)
{
	pci_cfg_vm = get_vm_area(0x2000, VM_IOREMAP);
	if (!pci_cfg_vm)
		panic(KERN_ERR "PCI unable to get vm area\n");
	pci_cfg_wired_entry = read_c0_wired();
	add_wired_entry(0, 0, (unsigned long)pci_cfg_vm->addr, PM_4K);
	last_entryLo0 = last_entryLo1 = 0xffffffff;
}