Messages in this thread Patch in this message | | | Date | Tue, 3 Jul 2001 15:05:58 +0200 (CEST) | From | Erik Meusel <> | Subject | Re: 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 \ | |