summaryrefslogtreecommitdiff
path: root/hw/ide/macio.c
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/macio.c
parentfe09c7c9f0e8ed8793e986cf616c8de0a9518fd7 (diff)
downloadqemu-a96cb236290ef8e54b061b30c41835e435905d7a.tar.gz
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/macio.c')
-rw-r--r--hw/ide/macio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ide/macio.c b/hw/ide/macio.c
index e7a5c99710..a009674f48 100644
--- a/hw/ide/macio.c
+++ b/hw/ide/macio.c
@@ -572,7 +572,6 @@ static const IDEDMAOps dbdma_ops = {
.start_dma = ide_dbdma_start,
.prepare_buf = ide_nop_int32,
.rw_buf = ide_nop_int,
- .set_unit = ide_nop_int,
};
static void macio_ide_realizefn(DeviceState *dev, Error **errp)