Преглед изворни кода

sparc32: Remove sun4c floppy assembler.

There were two blocks of code for the two ways to twiddle
the terminal count pin in the AUXIO register, one for
sun4c and one for sun4m.  Kill the former.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller пре 13 година
родитељ
комит
288e58cd03
1 измењених фајлова са 1 додато и 10 уклоњено
  1. 1 10
      arch/sparc/kernel/entry.S

+ 1 - 10
arch/sparc/kernel/entry.S

@@ -125,20 +125,11 @@ floppy_tdone:
 
 
 	set	sparc_cpu_model, %l5
 	set	sparc_cpu_model, %l5
 	ld	[%l5], %l5
 	ld	[%l5], %l5
-	subcc   %l5, 1, %g0		/* enum { sun4c = 1 }; */
-	be	1f
-	 ldub	[%l7], %l5
+	ldub	[%l7], %l5
 
 
 	or	%l5, 0xc2, %l5
 	or	%l5, 0xc2, %l5
 	stb	%l5, [%l7]
 	stb	%l5, [%l7]
 	andn    %l5, 0x02, %l5
 	andn    %l5, 0x02, %l5
-	b	2f
-	 nop
-
-1:
-	or      %l5, 0xf4, %l5
-	stb     %l5, [%l7]
-	andn    %l5, 0x04, %l5
 
 
 2:
 2:
 	/* Kill some time so the bits set */
 	/* Kill some time so the bits set */