patch-2.4.21 linux-2.4.21/arch/x86_64/boot/bootsect.S
Next file: linux-2.4.21/arch/x86_64/boot/compressed/misc.c
Previous file: linux-2.4.21/arch/x86_64/Makefile
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
2003-06-13 07:51:32.000000000 -0700
- Orig file:
linux-2.4.20/arch/x86_64/boot/bootsect.S
- Orig date:
2002-11-28 15:53:12.000000000 -0800
diff -urN linux-2.4.20/arch/x86_64/boot/bootsect.S linux-2.4.21/arch/x86_64/boot/bootsect.S
@@ -395,9 +395,9 @@
# NOTE: Doesn't save %ax or %dx; do it yourself if you need to.
kill_motor:
- movw $0x3f2, %dx
- xorb %al, %al
- outb %al, %dx
+ xorw %ax, %ax # reset FDC
+ xorb %dl, %dl
+ int $0x13
ret
sectors: .word 0
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)