e1000: support flashless i211 PBA
Add support to print PBA when using flashless. Signed-off-by: Todd Fujinaka <todd.fujinaka@intel.com> Signed-off-by: Sasha Neftin <sasha.neftin@intel.com> Signed-off-by: Guinan Sun <guinanx.sun@intel.com> Reviewed-by: Wei Zhao <wei.zhao1@intel.com> Approved by: imp Obtained from: DPDK (d3c41d90dfd5b39dec14c74cf53086f4e6634aed) MFC after: 1 week
This commit is contained in:
parent
702cac6c6b
commit
de0ae5d1cb
@ -776,7 +776,8 @@ s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num,
|
||||
|
||||
DEBUGFUNC("e1000_read_pba_string_generic");
|
||||
|
||||
if ((hw->mac.type >= e1000_i210) &&
|
||||
if ((hw->mac.type == e1000_i210 ||
|
||||
hw->mac.type == e1000_i211) &&
|
||||
!e1000_get_flash_presence_i210(hw)) {
|
||||
DEBUGOUT("Flashless no PBA string\n");
|
||||
return -E1000_ERR_NVM_PBA_SECTION;
|
||||
|
Loading…
Reference in New Issue
Block a user