]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do not use "Enable Implied Seek" on enhanced floppy controllers. This
authorjoerg <joerg@FreeBSD.org>
Sat, 24 Aug 2013 21:04:54 +0000 (21:04 +0000)
committerjoerg <joerg@FreeBSD.org>
Sat, 24 Aug 2013 21:04:54 +0000 (21:04 +0000)
commitba21b112e24723affad4802187173b9d2a1355e4
treea9865e92f0c4399bb0e62c3a7046f51079c2938e
parent86598e90982a30726e04376092fd682fb7dac3c0
Do not use "Enable Implied Seek" on enhanced floppy controllers.  This
breaks the "2step" feature of the driver, e.g. in order to read 360
KiB media on a 1200 KiB drive.

As the only potential advantage of implied (vs. explicit) seeks is to
minimize the software effort, yet our driver always contained the
logic needed for explicit seeks, simply dropping implied seeks is the
best solution without introducing risks for new bugs.  There is no
performance penalty, reading a 1440 KiB medium takes exactly the same
time with both, implied or explicit seeks.

MFC after: 1 week
sys/dev/fdc/fdc.c