diff mbox series

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

Message ID 20191221222530.GB27803@ls3530.fritz.box (mailing list archive)
State New, archived
Headers show
Series None | expand

Commit Message

Helge Deller Dec. 21, 2019, 10:25 p.m. UTC
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>

Comments

Richard Henderson Dec. 29, 2019, 1:25 a.m. UTC | #1
On 12/22/19 9:25 AM, Helge Deller wrote:
> 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>

Queued, thanks.


r~
diff mbox series

Patch

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