More slight fixes to the RTL8139C+.

This commit is contained in:
OBattler
2024-09-22 10:22:03 +02:00
parent cc67f712b0
commit 8593b175fd

View File

@@ -352,7 +352,8 @@ enum chip_flags {
#define RTL8139_PCI_REVID_8139 0x10
#define RTL8139_PCI_REVID_8139CPLUS 0x20
#define RTL8139_PCI_REVID RTL8139_PCI_REVID_8139CPLUS
/* Return 0x10 - the RTL8139C+ datasheet and Windows 2000 driver both confirm this. */
#define RTL8139_PCI_REVID RTL8139_PCI_REVID_8139
#pragma pack(push, 1)
typedef struct RTL8139TallyCounters {
@@ -3111,7 +3112,7 @@ rtl8139_pci_read(UNUSED(int func), int addr, void *priv)
case 0x05:
return s->pci_conf[addr & 0xFF] & 1;
case 0x08:
return 0x10;
return RTL8139_PCI_REVID;
case 0x09:
return 0x0;
case 0x0a: