patch-2.4.21 linux-2.4.21/arch/ppc64/kernel/pci_dma.c
Next file: linux-2.4.21/arch/ppc64/kernel/pci_dn.c
Previous file: linux-2.4.21/arch/ppc64/kernel/pci.h
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
2003-06-13 07:51:32.000000000 -0700
- Orig file:
linux-2.4.20/arch/ppc64/kernel/pci_dma.c
- Orig date:
2002-11-28 15:53:11.000000000 -0800
diff -urN linux-2.4.20/arch/ppc64/kernel/pci_dma.c linux-2.4.21/arch/ppc64/kernel/pci_dma.c
@@ -146,7 +146,7 @@
dev = ppc64_isabridge_dev;
if (!dev)
return NULL;
- if (naca->platform == PLATFORM_ISERIES_LPAR) {
+ if (systemcfg->platform == PLATFORM_ISERIES_LPAR) {
return ISERIES_DEVNODE(dev)->DevTceTable;
} else {
return PCI_GET_DN(dev)->tce_table;
@@ -735,7 +735,7 @@
struct pci_dev *dev;
struct device_node *dn, *mydn;
- if (naca->platform == PLATFORM_PSERIES_LPAR) {
+ if (systemcfg->platform == PLATFORM_PSERIES_LPAR) {
create_tce_tables_for_busesLP(&pci_root_buses);
}
else {
@@ -776,7 +776,7 @@
/* - Tce Table Share between buses, */
/* - Tce Table per logical slot. */
/*****************************************************************/
- if(naca->platform == PLATFORM_ISERIES_LPAR) {
+ if(systemcfg->platform == PLATFORM_ISERIES_LPAR) {
struct iSeries_Device_Node* DevNode = (struct iSeries_Device_Node*)token;
getTceTableParmsiSeries(DevNode,newTceTable);
@@ -800,7 +800,7 @@
dn = (struct device_node *)token;
phb = dn->phb;
- if (naca->platform == PLATFORM_PSERIES)
+ if (systemcfg->platform == PLATFORM_PSERIES)
getTceTableParmsPSeries(phb, dn, newTceTable);
else
getTceTableParmsPSeriesLP(phb, dn, newTceTable);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)