[edk2] [Patch] MdeModulePkg: Change the algorithm in SNP to use the first found BAR index.

2015-09-13 Thread Fu Siyuan
The driver binding start function in SNP.c goes through all the BARs and get the last BAR index for use. Theoretically it should work with all valid BARs, but we got reports some device did always use the first valid BAR, so we change the logic in SNP to use the first found BAR index instead of

Re: [edk2] [Patch] MdeModulePkg: Change the algorithm in SNP to use the first found BAR index.

2015-09-13 Thread Ye, Ting
Looks good. Reviewed-by: Ye Ting -Original Message- From: Fu, Siyuan Sent: Monday, September 14, 2015 9:12 AM To: edk2-devel@lists.01.org Cc: Tian, Feng; Ye, Ting Subject: [Patch] MdeModulePkg: Change the algorithm in SNP to use the first found BAR index. The