lkml.org 
[lkml]   [2001]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: include/asm-i386/checksum.h
And the same thing again, this time with include/asm-i386/floppy.h.
Patch is attached. I'm sorry to send this bit by bit, but I don't have the
time to do it all in one right now ;)

mfg, Erik
--- /tmp/linux/include/asm-i386/floppy.h Sat May 26 03:01:38 2001
+++ include/asm/floppy.h Tue Jul 3 14:37:40 2001
@@ -78,21 +78,21 @@
- "testl %1,%1
- je 3f
-1: inb %w4,%b0
- andb $160,%b0
- cmpb $160,%b0
- jne 2f
- incw %w4
- testl %3,%3
- jne 4f
- inb %w4,%b0
- movb %0,(%2)
- jmp 5f
-4: movb (%2),%0
- outb %b0,%w4
-5: decw %w4
- outb %0,$0x80
- decl %1
- incl %2
- testl %1,%1
- jne 1b
-3: inb %w4,%b0
+ "testl %1,%1 \
+ je 3f \
+1: inb %w4,%b0 \
+ andb $160,%b0 \
+ cmpb $160,%b0 \
+ jne 2f \
+ incw %w4 \
+ testl %3,%3 \
+ jne 4f \
+ inb %w4,%b0 \
+ movb %0,(%2) \
+ jmp 5f \
+4: movb (%2),%0 \
+ outb %b0,%w4 \
+5: decw %w4 \
+ outb %0,$0x80 \
+ decl %1 \
+ incl %2 \
+ testl %1,%1 \
+ jne 1b \
+3: inb %w4,%b0 \
\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.051 / U:0.764 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site