summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorMark Cave-Ayland2018-09-19 19:20:57 +0200
committerDavid Gibson2018-09-25 03:12:25 +0200
commitf74a4f3a59b6168b8f3e84e4276c47eda610891d (patch)
tree397e370a9c6c651cd2f6fe4befb84c07bec8148d /hw
parentsm501: Adjust endianness of pixel value in rectangle fill (diff)
downloadqemu-f74a4f3a59b6168b8f3e84e4276c47eda610891d.tar.gz
qemu-f74a4f3a59b6168b8f3e84e4276c47eda610891d.tar.xz
qemu-f74a4f3a59b6168b8f3e84e4276c47eda610891d.zip
scsi: add lsi53c8xx_handle_legacy_cmdline() function
This is the function that will soon be used to replace lsi53c895a_create() and lsi53c810_create(). Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw')
-rw-r--r--hw/scsi/lsi53c895a.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/scsi/lsi53c895a.c b/hw/scsi/lsi53c895a.c
index 955ba94800..8f5ab82d57 100644
--- a/hw/scsi/lsi53c895a.c
+++ b/hw/scsi/lsi53c895a.c
@@ -2290,3 +2290,10 @@ void lsi53c810_create(PCIBus *bus, int devfn)
scsi_bus_legacy_handle_cmdline(&s->bus);
}
+
+void lsi53c8xx_handle_legacy_cmdline(DeviceState *lsi_dev)
+{
+ LSIState *s = LSI53C895A(lsi_dev);
+
+ scsi_bus_legacy_handle_cmdline(&s->bus);
+}