diff mbox

[14/23] m68k: Suppress unused default drives

Message ID 1344519084-21847-15-git-send-email-armbru@redhat.com
State New
Headers show

Commit Message

Markus Armbruster Aug. 9, 2012, 1:31 p.m. UTC
Cc: Paul Brook <paul@codesourcery.com

Suppress default floppy, CD-ROM and SD card drives for machines
an5206, dummy, mcf5208evb.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 hw/an5206.c     | 3 +++
 hw/dummy_m68k.c | 3 +++
 hw/mcf5208.c    | 3 +++
 3 files changed, 9 insertions(+)
diff mbox

Patch

diff --git a/hw/an5206.c b/hw/an5206.c
index 25407c0..80158581 100644
--- a/hw/an5206.c
+++ b/hw/an5206.c
@@ -86,6 +86,9 @@  static QEMUMachine an5206_machine = {
     .name = "an5206",
     .desc = "Arnewsh 5206",
     .init = an5206_init,
+    .no_floppy = 1,
+    .no_cdrom = 1,
+    .no_sdcard = 1,
 };
 
 static void an5206_machine_init(void)
diff --git a/hw/dummy_m68k.c b/hw/dummy_m68k.c
index 7cc7a99..8bb4e7d 100644
--- a/hw/dummy_m68k.c
+++ b/hw/dummy_m68k.c
@@ -73,6 +73,9 @@  static QEMUMachine dummy_m68k_machine = {
     .name = "dummy",
     .desc = "Dummy board",
     .init = dummy_m68k_init,
+    .no_floppy = 1,
+    .no_cdrom = 1,
+    .no_sdcard = 1,
 };
 
 static void dummy_m68k_machine_init(void)
diff --git a/hw/mcf5208.c b/hw/mcf5208.c
index ee25b1b..c87a323 100644
--- a/hw/mcf5208.c
+++ b/hw/mcf5208.c
@@ -291,6 +291,9 @@  static QEMUMachine mcf5208evb_machine = {
     .name = "mcf5208evb",
     .desc = "MCF5206EVB",
     .init = mcf5208evb_init,
+    .no_floppy = 1,
+    .no_cdrom = 1,
+    .no_sdcard = 1,
     .is_default = 1,
 };