diff mbox series

[PULL,v3,05/11] hppa: Switch to tulip NIC by default

Message ID 20200124232009.12928-6-richard.henderson@linaro.org
State New
Headers show
Series [PULL,v3,01/11] hw/hppa/dino.c: Improve emulation of Dino PCI chip | expand

Commit Message

Richard Henderson Jan. 24, 2020, 11:20 p.m. UTC
From: Helge Deller <deller@gmx.de>

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>
---
 hw/hppa/machine.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c
index 33e3769d0b..c8b1830f88 100644
--- a/hw/hppa/machine.c
+++ b/hw/hppa/machine.c
@@ -127,10 +127,10 @@  static void machine_hppa_init(MachineState *machine)
     dev = DEVICE(pci_create_simple(pci_bus, -1, "lsi53c895a"));
     lsi53c8xx_handle_legacy_cmdline(dev);
 
-    /* Network setup.  e1000 is good enough, failing Tulip support.  */
+    /* Network setup. */
     for (i = 0; i < nb_nics; i++) {
         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);
         }
     }