From c4a7060cf70e2e72f44a98307f453eba07e09bea Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 27 May 2007 19:41:17 +0000 Subject: =?UTF-8?q?New=20option=20-net=20nic,model=3D=3F=20(Mark=20Glines)?= =?UTF-8?q?=20Network=20documentation=20update=20(Mark=20Glines)?= git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2880 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/mips_r4k.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hw/mips_r4k.c') diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c index 72e9ac8a68..d600dbbb00 100644 --- a/hw/mips_r4k.c +++ b/hw/mips_r4k.c @@ -227,6 +227,9 @@ void mips_r4k_init (int ram_size, int vga_ram_size, int boot_device, if (nd_table[0].model == NULL || strcmp(nd_table[0].model, "ne2k_isa") == 0) { isa_ne2000_init(0x300, i8259[9], &nd_table[0]); + } else if (strcmp(nd_table[0].model, "?") == 0) { + fprintf(stderr, "qemu: Supported NICs: ne2k_isa\n"); + exit (1); } else { fprintf(stderr, "qemu: Unsupported NIC: %s\n", nd_table[0].model); exit (1); -- cgit v1.2.3