diff --git a/src/Home/Net/Drivers/PCNet.ZC b/src/Home/Net/Drivers/PCNet.ZC old mode 100755 new mode 100644 index 3146dec9..3917d55f --- a/src/Home/Net/Drivers/PCNet.ZC +++ b/src/Home/Net/Drivers/PCNet.ZC @@ -211,10 +211,12 @@ U0 PCNetMACGet() APROM accessible at first 16 bytes of PCI IO space. */ I64 i; + U64 eeprom_bytes = InU32(PCNetIOBaseGet) | InU32(PCNetIOBaseGet + 4) << 32; + NetLog("PCNET GET MAC: Getting VM MAC."); for (i = 0; i < 6; i++) { - pcnet.mac_address[i] = InU8(PCNetIOBaseGet + i); + pcnet.mac_address[i] = eeprom_bytes.u8[i]; NetLog(" %02X", pcnet.mac_address[i]); } }