diff options
| author | Jacob Keller <[email protected]> | 2022-08-11 13:05:34 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2022-08-24 15:45:54 +0000 |
| commit | da02ee9c220bcc8abbb97473dbf82aad28de80cc (patch) | |
| tree | ae83c4ae059d06f05e7d1ab9300c761d3bdf2b43 /drivers/net/ethernet/intel/ice/ice_common.c | |
| parent | ice: Add port option admin queue commands (diff) | |
| download | kernel-da02ee9c220bcc8abbb97473dbf82aad28de80cc.tar.gz kernel-da02ee9c220bcc8abbb97473dbf82aad28de80cc.zip | |
ice: Add additional flags to ice_nvm_write_activate
The ice_nvm_write_activate function is used to issue AdminQ command
0x0707 which sends a request to firmware to activate a flash bank. For
basic operations, this command takes an 8bit flag value which defines
the flags to control the activation process. There are some additional
flags that are stored in a second 8bit flag field.
We can simplify the interface by using a u16 cmd_flags variable. Split
this over the two bytes of flag storage in the structure.
Signed-off-by: Jacob Keller <[email protected]>
Signed-off-by: Anatolii Gerasymenko <[email protected]>
Tested-by: Gurucharan <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_common.c')
0 files changed, 0 insertions, 0 deletions
