diff options
| author | Sasha Neftin <[email protected]> | 2019-01-30 17:13:14 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2019-02-06 01:35:46 +0000 |
| commit | 8c5ad0dae93c9931dc32b9f4a98e73922c6ab2e0 (patch) | |
| tree | 0828df855962356ec80cc26337248bf6e1edba7c /drivers/net/ethernet/intel/igc/igc_base.c | |
| parent | igb: Bump version number (diff) | |
| download | kernel-8c5ad0dae93c9931dc32b9f4a98e73922c6ab2e0.tar.gz kernel-8c5ad0dae93c9931dc32b9f4a98e73922c6ab2e0.zip | |
igc: Add ethtool support
This patch adds basic ethtool support to the device to allow
for configuration.
Signed-off-by: Sasha Neftin <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_base.c')
| -rw-r--r-- | drivers/net/ethernet/intel/igc/igc_base.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc_base.c b/drivers/net/ethernet/intel/igc/igc_base.c index fe9a9666c70f..51a8b8769c67 100644 --- a/drivers/net/ethernet/intel/igc/igc_base.c +++ b/drivers/net/ethernet/intel/igc/igc_base.c @@ -131,6 +131,7 @@ static s32 igc_init_nvm_params_base(struct igc_hw *hw) if (size > 15) size = 15; + nvm->type = igc_nvm_eeprom_spi; nvm->word_size = BIT(size); nvm->opcode_bits = 8; nvm->delay_usec = 1; |
