patch-2.4.2 linux/arch/arm/lib/io-readsb.S
Next file: linux/arch/arm/lib/io-readsl-armv3.S
Previous file: linux/arch/arm/lib/io-pcio.S
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Thu Feb 8 16:32:44 2001
- Orig file:
v2.4.1/linux/arch/arm/lib/io-readsb.S
- Orig date:
Mon Nov 27 17:07:59 2000
diff -u --recursive --new-file v2.4.1/linux/arch/arm/lib/io-readsb.S linux/arch/arm/lib/io-readsb.S
@@ -62,6 +62,7 @@
ldrb ip, [r0]
orr r6, r6, ip, lsl #24
stmia r1!, {r3 - r6}
+
subs r2, r2, #16
bpl .insb_16_lp
@@ -88,7 +89,7 @@
stmia r1!, {r3, r4}
.insb_no_8: tst r2, #4
- bne .insb_no_4
+ beq .insb_no_4
ldrb r3, [r0]
ldrb r4, [r0]
@@ -101,6 +102,7 @@
.insb_no_4: ands r2, r2, #3
LOADREGS(eqfd, sp!, {r4 - r6, pc})
+
cmp r2, #2
ldrb r3, [r0]
strb r3, [r1], #1
@@ -108,4 +110,5 @@
strgeb r3, [r1], #1
ldrgtb r3, [r0]
strgtb r3, [r1]
+
LOADREGS(fd, sp!, {r4 - r6, pc})
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)