From 13ccf190171723c12cb1100ba5a0b9f51b5c8342 Mon Sep 17 00:00:00 2001 From: Jasmine Iwanek Date: Fri, 24 Oct 2025 21:42:52 -0400 Subject: [PATCH] Use Realtek OID for RTL8139C+ [skip-ci] --- src/network/net_rtl8139.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/network/net_rtl8139.c b/src/network/net_rtl8139.c index 5f2c85b03..9cc52417f 100644 --- a/src/network/net_rtl8139.c +++ b/src/network/net_rtl8139.c @@ -3257,14 +3257,9 @@ nic_init(const device_t *info) eep_data[1] = 0x10EC; eep_data[2] = 0x8139; - /* XXX: Get proper MAC addresses from real EEPROM dumps. OID taken from net_ne2000.c */ -#ifdef USE_REALTEK_OID + /* XXX: Get proper MAC addresses from real EEPROM dumps. OID is generic Realtek */ eep_data[7] = 0xe000; eep_data[8] = 0x124c; -#else - eep_data[7] = 0x1400; - eep_data[8] = 0x122a; -#endif eep_data[9] = 0x1413; mac_bytes = (uint8_t *) &(eep_data[7]);