Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 9a65be14eb21910a21e0a11e0014c1b20a8ee6ef
      
https://github.com/tianocore/edk2/commit/9a65be14eb21910a21e0a11e0014c1b20a8ee6ef
  Author: Jared Pan <[email protected]>
  Date:   2026-06-30 (Tue, 30 Jun 2026)

  Changed paths:
    M NetworkPkg/SnpDxe/Initialize.c

  Log Message:
  -----------
  NetworkPkg/SnpDxe: Fix MAC address passthrough support

During SnpUndi32Initialize(), CurrentAddress is unconditionally
overwritten with PermanentAddress before UNDI initialization. This
causes MAC address passthrough (MacPassthru) to fail, as the NIC's
actual current address, which may differ from its permanent address,
is lost.

After UNDI initialization completes, call PxeGetStnAddr() to read
the NIC's station address via the UNDI interface and update
CurrentAddress, PermanentAddress, and BroadcastAddress in the mode
structure with the values reported by the hardware.

The call is added to both initialization paths: the cable-detect
success path and the fallback no-cable-detect path.

Signed-off-by: Jared Pan <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to