TC1995
5f06561469
EEPROM use changes and misc (September 3rd, 2025)
...
1.Move the 93cxx EEPROM implementation to the mem directory since it's used by cards which are not nics (e.g.: DC390 SCSI and S3 ELSA cards).
2. DC390 specific: remove the implementation used there and use the generic one from mem (used to be on the network directory) as well as fixing bus reset when interrupts are related.
3. S3: when the 64k size is selected in the LFB, use the SVGA 64k mapping as LFB (0xA0000).
2025-09-03 00:49:27 +02:00
OBattler
b7a01e682f
RTL8193 and DEC Tulip: Initialize the SPI EEPROM with instance.
2025-08-28 00:41:17 +02:00
Cacodemon345
39a3d1ded0
Backport RxConfig fixes from QEMU
2025-05-21 14:04:55 +06:00
Jasmine Iwanek
d5d1d5c449
More cleanups to device structs
2025-02-08 01:28:25 -05:00
Jasmine Iwanek
5f273265ae
Assorted warning fixes
2025-02-02 03:24:50 -05:00
Jasmine Iwanek
81b8038bc5
Clean up .available & .poll
2025-02-01 03:38:52 -05:00
Jasmine Iwanek
fabe71150c
Various improvements & Cleanups
...
Some ported from ANightly's work
2025-01-11 21:25:29 -05:00
OBattler
c172cc8dbe
RTL8139C+: Fix duplex negotiation so it correctly negotiates full duples, fixes #4867 .
2024-09-29 10:27:21 +02:00
OBattler
8593b175fd
More slight fixes to the RTL8139C+.
2024-09-22 10:22:03 +02:00
OBattler
cc67f712b0
RTL8139C+: Return correct PCI revision 0x10, fixes #4839 .
2024-09-22 07:11:09 +02:00
Jasmine Iwanek
e1fffd155a
Compile fix for net_rtl8139.c logging
2024-08-07 02:23:50 -04:00
OBattler
a614e935fb
Clean-ups in device.c/h and the _params() device add functions now work exactly as originally planned.
2024-05-25 02:00:19 +02:00
cartifanwlr
fc63c26e04
Merge network device headers to network.h
2024-02-18 20:02:01 +03:00
OBattler
3f2a61ae70
DEC Tulip: Make the memory BAR 4096 bytes in order to fit within 86Box's memory mapping granularity.
2024-01-27 02:15:59 +01:00
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