hppa: Switch to tulip NIC by default
Most HP PA-RISC machines have a Digital DS21142/43 Tulip network card, only some very latest generation machines have an e1000 NIC. Since qemu now provides an emulated tulip card, use that one instead. Signed-off-by: Helge Deller <deller@gmx.de> Message-Id: <20191221222530.GB27803@ls3530.fritz.box> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
2a6505b0e7
commit
0e6de55194
@ -127,10 +127,10 @@ static void machine_hppa_init(MachineState *machine)
|
|||||||
dev = DEVICE(pci_create_simple(pci_bus, -1, "lsi53c895a"));
|
dev = DEVICE(pci_create_simple(pci_bus, -1, "lsi53c895a"));
|
||||||
lsi53c8xx_handle_legacy_cmdline(dev);
|
lsi53c8xx_handle_legacy_cmdline(dev);
|
||||||
|
|
||||||
/* Network setup. e1000 is good enough, failing Tulip support. */
|
/* Network setup. */
|
||||||
for (i = 0; i < nb_nics; i++) {
|
for (i = 0; i < nb_nics; i++) {
|
||||||
if (!enable_lasi_lan()) {
|
if (!enable_lasi_lan()) {
|
||||||
pci_nic_init_nofail(&nd_table[i], pci_bus, "e1000", NULL);
|
pci_nic_init_nofail(&nd_table[i], pci_bus, "tulip", NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user