hw/alpha/dp264: Use the DECchip Tulip network interface
Commit 34ea023d4b9 introduced the Tulip PCI NIC. Since this better models the DP264 hardware, use it.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>
--- hw/alpha/dp264.c | 4 ++-- hw/alpha/Kconfig | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
hw/alpha/dp264.c +2 -2
@@ -85,9 +85,9 @@ static void clipper_init(MachineState *machine)/* VGA setup. Don't bother loading the bios. */ pci_vga_init (pci_bus); -/* Network setup. e1000 is good enough, failing Tulip support. */ +/* Network setup */ for (i =0 ; i < nb_nics; i++) { -pci_nic_init_nofail (&nd_table[i], pci_bus,"e1000" ,NULL ); +pci_nic_init_nofail (&nd_table[i], pci_bus,"tulip" ,NULL ); }/* 2 82C37 (dma) */
hw/alpha/Kconfig +1 -1
@@ -2,7 +2,7 @@ config DP264 bool imply PCI_DEVICES imply TEST_DEVICES - imply E1000_PCI + imply TULIP select I82374 select I8254 select I8259
Signature · 1 line
2.21.0
Richard Henderson
Reviewed-byQuoted 8 lines · Philippe Mathieu-Daudé
Commit
34ea023d4b9introduced the Tulip PCI NIC. Since this better models the DP264 hardware, use it.Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- hw/alpha/dp264.c | 4 ++-- hw/alpha/Kconfig | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
Reviewed-by Richard Henderson <[email protected]>
I've tested that a 5.4 kernel built for alpha is able to communicate via this driver model.
r~