diff options
author | jkim <jkim@FreeBSD.org> | 2008-11-15 01:43:34 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2008-11-15 01:43:34 +0000 |
commit | 5807aa93127c4de785d2ea6d94bbbe83e31126dd (patch) | |
tree | e3a1c76c7b0e35f54e3fe26be216a2c2708664a4 /sys/dev/xe | |
parent | b348c714fac9f8f31d6bfa7b258840e8d2bc45ae (diff) | |
download | FreeBSD-src-5807aa93127c4de785d2ea6d94bbbe83e31126dd.zip FreeBSD-src-5807aa93127c4de785d2ea6d94bbbe83e31126dd.tar.gz |
- 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]
Diffstat (limited to 'sys/dev/xe')
0 files changed, 0 insertions, 0 deletions