igc: Remove obsolete nvm type
Subsystems (2)
PATCH 1/1 igc: Remove obsolete nvm type
i225 devices use only spi nvm type. This patch comes to tidy up obsolete nvm types.
Signed-off-by Sasha Neftin <[email protected]>
--- drivers/net/ethernet/intel/igc/igc_hw.h | 2 -- drivers/net/ethernet/intel/igc/igc_i225.c | 2 -- 2 files changed, 4 deletions(-)
drivers/net/ethernet/intel/igc/igc_hw.h +0 -2
@@ -67,8 +67,6 @@ enum igc_media_type {enum igc_nvm_type { igc_nvm_unknown =0 , igc_nvm_eeprom_spi, - igc_nvm_flash_hw, - igc_nvm_invm, };struct igc_info {
drivers/net/ethernet/intel/igc/igc_i225.c +0 -2
@@ -473,13 +473,11 @@ s32 igc_init_nvm_params_i225(struct igc_hw *hw)/* NVM Function Pointers */ if (igc_get_flash_presence_i225 (hw)) { - hw->nvm.type = igc_nvm_flash_hw; nvm->ops.read = igc_read_nvm_srrd_i225; nvm->ops.write = igc_write_nvm_srwr_i225; nvm->ops.validate = igc_validate_nvm_checksum_i225; nvm->ops.update = igc_update_nvm_checksum_i225; }else { - hw->nvm.type = igc_nvm_invm; nvm->ops.read = igc_read_nvm_eerd; nvm->ops.write =NULL ; nvm->ops.validate =NULL ;
Signature · 1 line
2.25.1
Kraus
PATCH 1/1 igc: Remove obsolete nvm type
Quoted 10 lines · Sasha Neftin
i225 devices use only spi nvm type. This patch comes to tidy up obsolete nvm types.
Signed-off-by Sasha Neftin <[email protected]>--- drivers/net/ethernet/intel/igc/igc_hw.h | 2 -- drivers/net/ethernet/intel/igc/igc_i225.c | 2 -- 2 files changed, 4 deletions(-)Tested-by Nechama Kraus <[email protected]>
Kraus
PATCH 1/1 igc: Remove obsolete nvm type
In reply to Sasha NeftinQuoted 9 lines · Sasha Neftin
i225 devices use only spi nvm type. This patch comes to tidy up obsolete nvm types.
Signed-off-by Sasha Neftin <[email protected]>--- drivers/net/ethernet/intel/igc/igc_hw.h | 2 -- drivers/net/ethernet/intel/igc/igc_i225.c | 2 -- 2 files changed, 4 deletions(-)
Tested-by Nechama Kraus <[email protected]>