/src/sys/arch/powerpc/ibm4xx/pci/ |
pci_machdep.c | 77 static struct powerpc_bus_space pci_iot = { variable in typeref:struct:powerpc_bus_space 91 (bus_space_init(&pci_iot, "pcicfg", NULL, 0) || 92 bus_space_map(&pci_iot, IBM405GP_PCIC0_BASE, 8, 0, &pci_ioh))) 146 bus_space_write_4(&pci_iot, pci_ioh, PCIC_CFGADDR, tag | reg); 147 data = bus_space_read_4(&pci_iot, pci_ioh, PCIC_CFGDATA); 149 bus_space_write_4(&pci_iot, pci_ioh, PCIC_CFGADDR, 0); 160 bus_space_write_4(&pci_iot, pci_ioh, PCIC_CFGADDR, tag | reg); 161 bus_space_write_4(&pci_iot, pci_ioh, PCIC_CFGDATA, data); 163 bus_space_write_4(&pci_iot, pci_ioh, PCIC_CFGADDR, 0);
|
pci_machdep.c | 77 static struct powerpc_bus_space pci_iot = { variable in typeref:struct:powerpc_bus_space 91 (bus_space_init(&pci_iot, "pcicfg", NULL, 0) || 92 bus_space_map(&pci_iot, IBM405GP_PCIC0_BASE, 8, 0, &pci_ioh))) 146 bus_space_write_4(&pci_iot, pci_ioh, PCIC_CFGADDR, tag | reg); 147 data = bus_space_read_4(&pci_iot, pci_ioh, PCIC_CFGDATA); 149 bus_space_write_4(&pci_iot, pci_ioh, PCIC_CFGADDR, 0); 160 bus_space_write_4(&pci_iot, pci_ioh, PCIC_CFGADDR, tag | reg); 161 bus_space_write_4(&pci_iot, pci_ioh, PCIC_CFGDATA, data); 163 bus_space_write_4(&pci_iot, pci_ioh, PCIC_CFGADDR, 0);
|