Hi Mars, "For the case we do have 2 NICs installed on a system, we cannot have both VLanConfig forms that serve each other but only the first one."
Is this your experiment result, or your expected result per your understanding to the code? I just tried two NICs in my platform, it is able to install "VLAN Configuration" to both NICs. Best regards, Ting From: Mars Lin [mailto:[email protected]] Sent: Monday, September 24, 2012 5:49 PM To: [email protected] Subject: [edk2] VLanConfigDxe driver cannot add multiple HII package list into HII database. Dear all, Is this expected behavior that only one copy of VLanConfig HII form can be installed into system? Current VLanConfigDxe driver uses followed code fragment to add its HII resource into database but HiiAddPackages() add package list into database only when GUID of packagelist is unique or EFI_INVALID_PARAMETER will be returned. For the case we do have 2 NICs installed on a system, we cannot have both VLanConfig forms that serve each other but only the first one. Any comments? // // Publish the HII package list // HiiHandle = HiiAddPackages ( &gVlanConfigFormSetGuid, // this will become duplicated if multiple clients use it. DriverHandle, VlanConfigDxeStrings, VlanConfigBin, NULL ); Mars Lin 7F, Asia Plaza Building C. No. 88, Rei Hu Street, Neihu District. Taipei 11494, Taiwan, R.O.C. 886-2-77455792 main 886-2-77455699 fax [email protected]<mailto:[email protected]> [cid:[email protected]] www.phoenix.com<http://www.phoenix.com/> THIS MESSAGE MAY CONTAIN CONFIDENTIAL INFORMATION. UNLESS YOU ARE THE INTENDED RECIPIENT OF THIS MESSAGE, ANY USE OF THIS MESSAGE IS STRICTLY PROHIBITED. IF YOU HAVE RECEIVED THIS MESSAGE IN ERROR, PLEASE IMMEDIATELY NOTIFY THE SENDER BY TELEPHONE OR REPLY EMAIL, AND IMMEDIATELY DELETE THIS MESSAGE AND ALL COPIES.
<<inline: image001.jpg>>
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
