qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/2] hppa: Switch to tulip NIC by default


From: Helge Deller
Subject: [PATCH 2/2] hppa: Switch to tulip NIC by default
Date: Sat, 21 Dec 2019 23:25:30 +0100

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 <address@hidden>

diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c
index aea365bf46..120d4a75fc 100644
--- a/hw/hppa/machine.c
+++ b/hw/hppa/machine.c
@@ -135,10 +135,10 @@ static void machine_hppa_init(MachineState *machine)
         sysbus_mmio_map(s, 1, ARTIST_FB_ADDR);
     }

-    /* 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);
         }
     }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]