OSDN Git Service

ide: Set bus master inactive on error
authorKevin Wolf <kwolf@redhat.com>
Fri, 26 Nov 2010 15:47:42 +0000 (16:47 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 29 Nov 2010 15:15:01 +0000 (16:15 +0100)
commite3982b3cf6d17fbba6839d5252f5f757a8d585dc
treec10aef73147570a4242c088b2e5b8aed4687d0d5
parent8337606d3588f80aea656db74127423bd6b61443
ide: Set bus master inactive on error

BMIDEA in the status register must be cleared on error. This makes FreeBSD
respond (more) correctly to I/O errors.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
hw/ide/core.c