patch-1.3.80 linux/arch/i386/boot/setup.S

Next file: linux/arch/i386/kernel/entry.S
Previous file: linux/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.79/linux/arch/i386/boot/setup.S linux/arch/i386/boot/setup.S
@@ -114,6 +114,11 @@
 	mov	dl,#0x81
 	int	0x13
 
+! Reset the disk controller.
+	mov	ax,#0x0000
+	mov	dl,#0x80
+	int	0x13
+
 ! set DS=CS, we know that SETUPSEG == CS at this point
 	mov	ax,cs		! aka #SETUPSEG
 	mov	ds,ax

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this