]> Git Repo - qemu.git/blobdiff - hw/sun4m.c
New option -net nic,model=? (Mark Glines)
[qemu.git] / hw / sun4m.c
index 9efcdd62d2e541261353f1692ce1f817ea483041..2f7f22e4ccb3f2debe0b52954695f6ccde09afc1 100644 (file)
@@ -353,6 +353,9 @@ static void sun4m_hw_init(const struct hwdef *hwdef, int ram_size,
     if (nd_table[0].model == NULL
         || strcmp(nd_table[0].model, "lance") == 0) {
         lance_init(&nd_table[0], hwdef->le_base, ledma, *ledma_irq);
+    } else if (strcmp(nd_table[0].model, "?") == 0) {
+        fprintf(stderr, "qemu: Supported NICs: lance\n");
+        exit (1);
     } else {
         fprintf(stderr, "qemu: Unsupported NIC: %s\n", nd_table[0].model);
         exit (1);
This page took 0.022577 seconds and 4 git commands to generate.