aboutsummaryrefslogtreecommitdiff
path: root/hw/ide/internal.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-02-23 11:17:57 -0500
committerKevin Wolf <kwolf@redhat.com>2015-03-10 14:02:22 +0100
commita96cb236290ef8e54b061b30c41835e435905d7a (patch)
treeadc651b6b426c316d311b859b79eeb2ec2c73fb7 /hw/ide/internal.h
parentfe09c7c9f0e8ed8793e986cf616c8de0a9518fd7 (diff)
ide: replace set_unit callback with more IDEBus state
Start moving the initial state of the current request to IDEBus, so that AHCI can use it. The set_unit callback is not used anymore once this is done. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> Message-id: 1424708286-16483-9-git-send-email-jsnow@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide/internal.h')
-rw-r--r--hw/ide/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/internal.h b/hw/ide/internal.h
index 44cce5b1ba..9630f6125b 100644
--- a/hw/ide/internal.h
+++ b/hw/ide/internal.h
@@ -436,7 +436,6 @@ struct IDEDMAOps {
DMAInt32Func *prepare_buf;
DMAu32Func *commit_buf;
DMAIntFunc *rw_buf;
- DMAIntFunc *set_unit;
DMAVoidFunc *restart_dma;
DMAStopFunc *set_inactive;
DMAVoidFunc *cmd_done;
@@ -465,6 +464,7 @@ struct IDEBus {
qemu_irq irq;
int error_status;
+ uint8_t retry_unit;
};
#define TYPE_IDE_DEVICE "ide-device"