From abdb34aed6633014c66e908ed53cac7f9465b018 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Mon, 31 Jul 2023 16:40:41 +0600 Subject: [PATCH] net_rtl8139: This is a RTL8139C+ NIC --- src/include/86box/net_rtl8139.h | 2 +- src/network/net_rtl8139.c | 8 ++++---- src/network/network.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/include/86box/net_rtl8139.h b/src/include/86box/net_rtl8139.h index 420b07b4f..fec851b06 100644 --- a/src/include/86box/net_rtl8139.h +++ b/src/include/86box/net_rtl8139.h @@ -1 +1 @@ -extern const device_t rtl8139c_device; \ No newline at end of file +extern const device_t rtl8139c_plus_device; \ No newline at end of file diff --git a/src/network/net_rtl8139.c b/src/network/net_rtl8139.c index 24ac2f72a..4b4f320b9 100644 --- a/src/network/net_rtl8139.c +++ b/src/network/net_rtl8139.c @@ -6,7 +6,7 @@ * * This file is part of the 86Box distribution. * - * Emulation of Realtek RTL8139C NIC. + * Emulation of Realtek RTL8139C+ NIC. * * * Authors: Cacodemon345 @@ -3322,9 +3322,9 @@ nic_close(void *priv) free(priv); } -const device_t rtl8139c_device = { - .name = "Realtek RTL8139C", - .internal_name = "rtl8139c", +const device_t rtl8139c_plus_device = { + .name = "Realtek RTL8139C+", + .internal_name = "rtl8139c+", .flags = DEVICE_PCI, .local = 0, .init = nic_init, diff --git a/src/network/network.c b/src/network/network.c index ac27b9067..71cffe176 100644 --- a/src/network/network.c +++ b/src/network/network.c @@ -119,7 +119,7 @@ static const device_t *net_cards[] = { &rtl8029as_device, &pcnet_am79c960_vlb_device, &dec_tulip_device, - &rtl8139c_device, + &rtl8139c_plus_device, NULL };