audk/MdeModulePkg
Fu Siyuan 128946c9c3 MdeModulePkg: Refine SNP driver's media status check logic.
Some UNDI drivers may not support the cable detect in UNDI INITIALIZE command,
but support the media present check in UNDI GET_STATUS command. Current SNP
driver will set the MediaPresentSupported field to FALSE in EFI_SIMPLE_NETWORK_MODE
for such case, which forbid the media detect from the callers.

This patch updates the SNP driver to support such kind of UNDIs for media detect.
MediaPresentSupported will be set to TRUE, and a GET_STATUS command will be issued
immediately after INITIALIZE command in SNP->Initialize() function, to refresh
the value of MediaPresent in SNP mode data.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-By: Ye Ting <ting.ye@intel.com>
Reviewed-By: Wu Jiaxin <jiaxin.wu@intel.com>
2016-05-06 08:52:26 +08:00
..
Application MdeModulePkg-MemoryProfile(3): Use SMRAM_PROFILE_COMMAND_GET_PROFILE_DATA_BY_OFFSET in MemoryProfileInfo. 2016-04-29 12:49:14 +08:00
Bus MdeModulePkg: ScsiDiskDxe: cope with broken "Supported VPD Pages" VPD page 2016-05-05 09:24:53 +02:00
Core MdeModulePkg/DxeCore: set ImageContext Handle and ImageRead() fields 2016-04-29 16:57:50 +02:00
Include MdeModulePkg/UefiBootManagerLib: Expose *GetLoadOptionBuffer() API 2016-05-04 08:47:34 +08:00
Library MdeModulePkg FileExplorerLib: Add UefiHiiServicesLib dependency. 2016-05-05 10:07:45 +08:00
Logo
Universal MdeModulePkg: Refine SNP driver's media status check logic. 2016-05-06 08:52:26 +08:00
Contributions.txt
License.txt
MdeModulePkg.dec MdeModulePkg: Add EDKII_PI_SMM_COMMUNICATION_REGION_TABLE definition. 2016-04-29 12:49:08 +08:00
MdeModulePkg.dsc MdeModulePkg: Add new driver to publish EDKII_PI_SMM_COMMUNICATION_REGION_TABLE. 2016-04-29 12:49:09 +08:00
MdeModulePkg.uni MdeModulePkg/MdeModulePkg.uni: Add SD related PCD description 2016-04-26 15:44:52 +08:00
MdeModulePkgExtra.uni