cvs commit: src/sys/dev/fdc fdc.c

Jung-uk Kim jkim at FreeBSD.org
Wed Jul 12 00:59:53 UTC 2006


On Tuesday 11 July 2006 08:49 pm, Jung-uk Kim wrote:
> jkim        2006-07-12 00:49:47 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/dev/fdc          fdc.c
>   Log:
>   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.
>
>   Revision  Changes    Path
>   1.311     +3 -0      src/sys/dev/fdc/fdc.c

Linux device driver seems to have 'broken_dcl' boot time option to 
work around this issue, i.e., assuming disk change for every floppy 
disk access, which is quite ugly, IMHO.  Does anybody have better 
idea to fix these cases?

Jung-uk Kim


More information about the cvs-all mailing list