Commit Graph

18 Commits

Author SHA1 Message Date
OBattler
555cba7b8a RTL8139 changes: The PCI memory BAR is now 4096 bytes instead of 256 in order to fit into 86Box's memory mapping granularity, and implemented the undocumented CSCR reads discovered by RichardG when probing the real hardware. 2024-01-24 05:22:22 +01:00
OBattler
04103ee9b1 Made the RTL8139 use the same 93x6 EEPROM implementation as the DEC Tulip's, also cleaned up the I/O and memory access handlers a bit. 2023-12-20 20:49:51 +01:00
OBattler
1201b52890 Fixed the RTL8139 MAC address. 2023-12-19 20:09:00 +01:00
OBattler
c64748ca6c Slight RTL8139 mapping fixes, now Windows 2000 pings correctly, but still all 00's MAC address. 2023-12-19 20:02:07 +01:00
Jasmine Iwanek
4c87164692 Fix remaining warnings in windows and linux builds 2023-12-17 15:08:22 -05:00
OBattler
942be26bdc And the RTL8139. 2023-11-19 02:09:39 +01:00
OBattler
f9d673708a Fixed warnings in the network code. 2023-11-11 16:57:55 +01:00
Jasmine Iwanek
70d4fc1b9a clang-format the new network cards 2023-08-08 10:15:49 -04:00
Jasmine Iwanek
69bbee137f Sonarlint the new network cards 2023-08-08 10:15:49 -04:00
Jasmine Iwanek
d79ad02e91 Fix compilation error in net_rtl8139.c 2023-08-08 10:15:48 -04:00
OBattler
2f485f830b Updated Cacodemon's two new Network adapters to the new PCI API. 2023-08-07 03:22:22 +02:00
Miran Grča
93c03b5df9 Update net_rtl8139.c
Proper copyrights for the RTL8139.
2023-08-04 21:56:35 +02:00
Miran Grča
83571bb344 Update net_rtl8139.c
Make the RTL8139 timer use the actual PCI bus speed.
2023-08-04 21:50:25 +02:00
Miran Grča
3616a5b604 The RTL8193 PCI Latency Timer register is now writable. 2023-08-04 21:45:37 +02:00
Cacodemon345
76a589012f net_rtl8139.c: Also change name of EEPROM file on-disk 2023-07-31 17:22:25 +06:00
Cacodemon345
abdb34aed6 net_rtl8139: This is a RTL8139C+ NIC 2023-07-31 16:40:41 +06:00
Cacodemon345
5685583d33 RTL8139: Fix potential interrupt storm 2023-07-31 02:37:49 +06:00
Cacodemon345
f3233c4eb5 Port Realtek RTL8139C emulation from QEMU 2023-07-31 02:04:53 +06:00