FDC: Fix data transfer len (Hervé Poussineau)
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 1 May 2008 19:05:12 +0000 (19:05 +0000)
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 1 May 2008 19:05:12 +0000 (19:05 +0000)
commit4944972f25e2c7c6408baa5b0bb0a5b9c64cd539
tree6f3b516be0f47cae69e45f51f7ee7008d32427cd
parent77f1a5d50f7cff19405792fc500f370340bd12f7
FDC: Fix data transfer len (HervĂ© Poussineau)

In floppy controller, transfer data len is not correctly calculated.
We should read up to the last sector specified by the caller, and not up to
the last sector of the floppy.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4294 c046a42c-6fe2-441c-8c8c-71466251a162
hw/fdc.c