mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 06:52:34 -04:00
ixgbe: add E610 functions getting PBA and FW ver info
Introduce 2 E610 specific callbacks implementations: -ixgbe_start_hw_e610() which expands the regular .start_hw callback with getting FW version information -ixgbe_read_pba_string_e610() which gets Product Board Assembly string Extend EEPROM ops with new .read_pba_string in order to distinguish generic one and the E610 one. Reviewed-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com> Tested-by: Bharath R <bharath.r@intel.com> Co-developed-by: Stefan Wegrzyn <stefan.wegrzyn@intel.com> Signed-off-by: Stefan Wegrzyn <stefan.wegrzyn@intel.com> Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
This commit is contained in:
committed by
Tony Nguyen
parent
8210ff7380
commit
4654ec6194
@@ -196,7 +196,7 @@ static int ixgbe_devlink_info_get(struct devlink *devlink,
|
||||
if (err)
|
||||
goto free_ctx;
|
||||
|
||||
err = ixgbe_read_pba_string_generic(hw, ctx->buf, sizeof(ctx->buf));
|
||||
err = hw->eeprom.ops.read_pba_string(hw, ctx->buf, sizeof(ctx->buf));
|
||||
if (err)
|
||||
goto free_ctx;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user