]> git.proxmox.com Git - qemu.git/commit - hw/ide/core.c
ide/core: Remove explicit setting of BM_STATUS_INT
authorKevin Wolf <kwolf@redhat.com>
Thu, 19 May 2011 14:42:24 +0000 (16:42 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 8 Jun 2011 08:39:32 +0000 (10:39 +0200)
commit69c38b8fcec823da05f98f6ea98ec2b0013d64e2
tree4eb91214502a2a73d1573f491ece1414d872d2d5
parenta90d4690074526f54ad0851fce19fa6783f06803
ide/core: Remove explicit setting of BM_STATUS_INT

BM_STATUS_INT is automatically set during ide_set_irq(), there's no reason to
set it manually in addition.

There is even one case where the interrupt status bit was set, but no IRQ was
raised. This is when the PRD table was reached but there is more data to
transfer. The correct behaviour for this case is not to set BM_STATUS_INT.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c