Subject: CVS commit: syssrc/sys/arch/i386/stand/lib
To: None <source-changes@netbsd.org>
From: None <dyoung@netbsd.org>
List: source-changes
Date: 10/10/2002 21:52:43
Module Name: syssrc
Committed By: dyoung
Date: Thu Oct 10 18:52:43 UTC 2002
Modified Files:
syssrc/sys/arch/i386/stand/lib: bios_disk.S biosdisk_ll.c
Log Message:
Introduce biosdiskreset(), and call it to reset the disk (with Int
0x13 Function 0) after a read error. This is a requirement mentioned
in most BIOS documentation.
This answers PR 18591.
Incidentally, on the Soekris Engineering net45x1 single-board
computer, this fixes a bug where the bootloader corrupts the kernel
while loading it from certain varieties of CompactFlash card
(especially varieties identified by NetBSD as <TOSHIBA THNCF064MBA>).
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 syssrc/sys/arch/i386/stand/lib/bios_disk.S
cvs rdiff -r1.11 -r1.12 syssrc/sys/arch/i386/stand/lib/biosdisk_ll.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.