diff --git a/src/network/net_rtl8139.c b/src/network/net_rtl8139.c index 335e3297a..0b00d589a 100644 --- a/src/network/net_rtl8139.c +++ b/src/network/net_rtl8139.c @@ -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: