mac_newworld: change default NIC to sungem for mac99 machine
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 8 Feb 2019 17:22:01 +0000 (17:22 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sun, 17 Feb 2019 10:54:02 +0000 (21:54 +1100)
This model brings out-of-the-box networking for all of Linux, MacOS 9 and OS X
without requiring the installation of additional drivers.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20190208172201.29001-1-mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/mac_newworld.c

index 10be728c37d8536252f6f4095c63cf14fb79f024..98461052ac0a80d4e3c931f2201322d70a7251dd 100644 (file)
@@ -432,7 +432,7 @@ static void ppc_core99_init(MachineState *machine)
     }
 
     for (i = 0; i < nb_nics; i++) {
-        pci_nic_init_nofail(&nd_table[i], pci_bus, "ne2k_pci", NULL);
+        pci_nic_init_nofail(&nd_table[i], pci_bus, "sungem", NULL);
     }
 
     /* The NewWorld NVRAM is not located in the MacIO device */