patch-2.4.23 linux-2.4.23/arch/sparc64/kernel/head.S

Next file: linux-2.4.23/arch/sparc64/kernel/ioctl32.c
Previous file: linux-2.4.23/arch/sparc64/kernel/entry.S
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/arch/sparc64/kernel/head.S linux-2.4.23/arch/sparc64/kernel/head.S
@@ -647,11 +647,18 @@
 	 nop
 
 not_starfire:
+	BRANCH_IF_JALAPENO(g1,g5,is_jalapeno)
 	BRANCH_IF_ANY_CHEETAH(g1,g5,is_cheetah)
 
 	ba,pt	%xcc, not_cheetah
 	 nop
 
+is_jalapeno:
+	ldxa		[%g0] ASI_JBUS_CONFIG, %g1
+	srlx		%g1, 17, %g1
+	ba,pt		%xcc, set_worklist
+	 and		%g1, 0x1f, %g1		! 5bit JBUS ID
+
 is_cheetah:
 	ldxa		[%g0] ASI_SAFARI_CONFIG, %g1
 	srlx		%g1, 17, %g1

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