]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Assume floppy disk is not inserted when we have exhausted retries. This
authorjkim <jkim@FreeBSD.org>
Wed, 12 Jul 2006 00:49:46 +0000 (00:49 +0000)
committerjkim <jkim@FreeBSD.org>
Wed, 12 Jul 2006 00:49:46 +0000 (00:49 +0000)
commit21e00b8d7070c6cac3980116707f1e5007f05fba
treeec0c5b8ba3a160eda6d965f3e91fa5dda9c653b8
parent45301dddff45e060b07f601d893065d6c4e33bbb
Assume floppy disk is not inserted when we have exhausted retries.  This
significantly reduces booting time when there is broken floppy disk drive,
controller, cable, BIOS, etc.
When the floppy controller interface is correctly implemented, disk change
signal (DSKCHG) is reflected in the Digital Input Register (DIR) at 0x3f7.
However, there are many cases that the signal is unusable.  Moreover, some
BIOS does not reserve the port at all.  In those cases, the register may not
function.
sys/dev/fdc/fdc.c