patch-2.4.20 linux-2.4.20/arch/sparc64/kernel/devices.c

Next file: linux-2.4.20/arch/sparc64/kernel/dtlb_base.S
Previous file: linux-2.4.20/arch/sparc64/kernel/cpu.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/arch/sparc64/kernel/devices.c linux-2.4.20/arch/sparc64/kernel/devices.c
@@ -57,7 +57,8 @@
 				if (tlb_type == spitfire) {
 					prom_getproperty(scan, "upa-portid",
 							 (char *) &thismid, sizeof(thismid));
-				} else if (tlb_type == cheetah) {
+				} else if (tlb_type == cheetah ||
+					   tlb_type == cheetah_plus) {
 					prom_getproperty(scan, "portid",
 							 (char *) &thismid, sizeof(thismid));
 				}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)