]> git.proxmox.com Git - mirror_edk2.git/commit - EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
EmbeddedPkg/Lan9118Dxe: Rework filter init, enabling and disabling
authorRonald Cron <ronald.cron@arm.com>
Mon, 27 Oct 2014 10:42:13 +0000 (10:42 +0000)
committeroliviermartin <oliviermartin@Edk2>
Mon, 27 Oct 2014 10:42:13 +0000 (10:42 +0000)
commit11bbc25789c65514005c1ed7eaca38c095e0187a
tree9b71c53b968eb2e370f83f3968bd0c2a40f4c8bc
parente52aee5d31c78a45a30fae5fbb54d1cf0bbabe1c
EmbeddedPkg/Lan9118Dxe: Rework filter init, enabling and disabling

Correct the setting of the hardware filters according to what it asked
to the driver through the ReceiveFilters() interface function.

Keep track of the hardware settings in the "ReceiveFilterSetting" field of
 the EFI_SIMPLE_NETWORK_MODE structure.

From now, after initialization, all filters are disabled and thus no packet
received.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
Reviewed-By: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16243 6f19259b-4bc3-4df7-8a09-765794883524
EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeUtil.c