diff options
author | Hervé Poussineau <hpoussin@reactos.org> | 2012-02-06 22:29:02 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-02-29 12:48:46 +0100 |
commit | 08388273a3c4e895bf7e10f356f66c2363cfe90b (patch) | |
tree | d1315f7ac981656f4e23cb001348588da160a789 /async.c | |
parent | b55c952aea6de024bf1a06357b49367fba045443 (diff) |
fdc: take side count into account
Floppies can be simple or double-sided. However, current code
was only taking the common case into account (ie 2 sides).
This repairs single-sided floppies, which where totally broken
before this patch : for track > 0, wrong sector number was
calculated, and data was read/written at wrong place on
underlying device.
Fortunately, only some 360 kB floppies are single-sided, so
this bug was probably not seen much.
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'async.c')
0 files changed, 0 insertions, 0 deletions