Date: Wed, 21 Jan 2009 17:32:26 +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: <200901211732.n0LHWXd6043411@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jkim 2009-01-21 17:32:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/fdc fdc.c Log: SVN rev 187544 on 2009-01-21 17:32:26Z by jkim MFC: r184976 - 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.317.2.2 +86 -63 src/sys/dev/fdc/fdc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901211732.n0LHWXd6043411>