summaryrefslogtreecommitdiffstats
path: root/hw/lsi53c895a.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-04-21 13:21:02 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2011-05-26 12:14:16 +0200
commit0c34459b6af1b7ed2f000995b9bcb1c722646fbb (patch)
treede9567cb5953e0ed8a71539772b923983feecda5 /hw/lsi53c895a.c
parentad3376cc558f69606ac25ab6d597db71c969d8b6 (diff)
downloadhqemu-0c34459b6af1b7ed2f000995b9bcb1c722646fbb.zip
hqemu-0c34459b6af1b7ed2f000995b9bcb1c722646fbb.tar.gz
scsi: introduce scsi_req_get_buf
... and remove some SCSIDevice variables or fields that now become unused. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'hw/lsi53c895a.c')
-rw-r--r--hw/lsi53c895a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c
index e8409b7..43113a1 100644
--- a/hw/lsi53c895a.c
+++ b/hw/lsi53c895a.c
@@ -569,7 +569,7 @@ static void lsi_do_dma(LSIState *s, int out)
s->dnad += count;
s->dbc -= count;
if (s->current->dma_buf == NULL) {
- s->current->dma_buf = dev->info->get_buf(s->current->req);
+ s->current->dma_buf = scsi_req_get_buf(s->current->req);
}
/* ??? Set SFBR to first data byte. */
if (out) {
OpenPOWER on IntegriCloud