When selecting e1000e as nic for macOS Opencore
or other macOS in QEMU emulation, it doesn't work
but this patch fixes it by changing a PCI ID for
Intel 82574L to support macOS native Intel NIC
Kexts, both IDs (0x10F6 & 0x10D3) are 82574L but
0x1003 as DEV ID works well with macOS, without
any other breaking changes (other than a number
change, which may make Windows Re-Register the
Driver)! (Note: macOS Ventura 13 removes this
kext, so it isn't working in 13 or higher, as
well with other Intel NICs supported by QEMU,
since this is the newest model for Intel, other
than the Para-virt VirtIO card provided by QEMU)
Signed-off-by: Christopher Lentocha <christopherericlentocha@gmail.com>
---
hw/net/e1000x_regs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/net/e1000x_regs.h b/hw/net/e1000x_regs.h
index cd896fc0ca..d938aa49e8 100644
--- a/hw/net/e1000x_regs.h
+++ b/hw/net/e1000x_regs.h
@@ -84,7 +84,7 @@
#define E1000_DEV_ID_82573E 0x108B
#define E1000_DEV_ID_82573E_IAMT 0x108C
#define E1000_DEV_ID_82573L 0x109A
-#define E1000_DEV_ID_82574L 0x10D3
+#define E1000_DEV_ID_82574L 0x10F6
#define E1000_DEV_ID_82546GB_QUAD_COPPER_KSP3 0x10B5
#define E1000_DEV_ID_80003ES2LAN_COPPER_DPT 0x1096
#define E1000_DEV_ID_80003ES2LAN_SERDES_DPT 0x1098
--
2.38.1