fdc: fix interrupt handling
commit2fee00885a9ea4db69bbfc1ba8ccf95f2ae9aec6
authorPavel Hrdina <phrdina@redhat.com>
Fri, 22 Jun 2012 10:33:55 +0000 (22 12:33 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 9 Jul 2012 13:53:03 +0000 (9 15:53 +0200)
treea9885b86d8172cb4c6294e8cf4adf15be57595b8
parent6be01b1e0b14ad4809c9aec273c6109b91d2df1c
fdc: fix interrupt handling

If you call the SENSE INTERRUPT STATUS command while there is no interrupt
waiting you get as result unknown command.

Fixed status0 register handling for read/write/format commands.

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