Date: Sat, 15 Nov 2008 01:43:34 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/fdc fdc.c Message-ID: <200811150143.mAF1hfmC043436@repoman.freebsd.org>
index | next in thread | raw e-mail
jkim 2008-11-15 01:43:34 UTC
FreeBSD src repository
Modified files:
sys/dev/fdc fdc.c
Log:
SVN rev 184976 on 2008-11-15 01:43:34Z by jkim
- Revive fdc(4) per-device flag 0x10, which was removed in r1.284[1].
- If the flag is set and auto-select fails, assume disk is not present.
- Set disk empty flag only when the floppy controller reset is needed.
It fixes regression introduced in r1.311, which prevented it from ignoring
errors. Now fdformat(1) and dd(1) with conv=noerror option can continue
when read/write errors occur as they should.
- Do not retry disk probing as it is extremely slow and pointless.
- Move the disk probing code into a separate function.
- Do not reset disk empty flag if write-protect check fails somehow.
PR: kern/116538[1]
Revision Changes Path
1.321 +86 -63 src/sys/dev/fdc/fdc.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811150143.mAF1hfmC043436>
