fdc: rewrite seek and DSKCHG bit handling
authorPavel Hrdina <phrdina@redhat.com>
Fri, 22 Jun 2012 10:33:54 +0000 (12:33 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 9 Jul 2012 13:53:03 +0000 (15:53 +0200)
commit6be01b1e0b14ad4809c9aec273c6109b91d2df1c
tree607c83fb81e1f1da926e5b8843e5aa2c5d23871e
parent4ddc07cac2bd794e4ff17717551e66589e71e714
fdc: rewrite seek and DSKCHG bit handling

This bit is cleared on every successful seek to a different track (cylinder).
The seek is also called on revalidate or on read/write/format commands which
also clear the DSKCHG bit.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/fdc.c