- cxgb3 engine microcode load
Subsystems (2)
PATCH 2/2 - cxgb3 engine microcode load
From: Divy Le Ray <[email protected]>
Load the engine microcode when an interface is brought up, instead of of doing it when the module is loaded.
Loosen up tight binding between the driver and the engine microcode version.
There is no need for microcode update with T3A boards. Fix the file naming.
Do a better job at logging the loading activity.
Signed-off-by Divy Le Ray <[email protected]>
---
drivers/net/cxgb3/common.h | 3 + drivers/net/cxgb3/cxgb3_main.c | 126 ++++++++++++++++++++++++++-------------- drivers/net/cxgb3/t3_hw.c | 46 +++++++++++++-- 3 files changed, 123 insertions(+), 52 deletions(-)
drivers/net/cxgb3/common.h +2 -1
@@ -679,7 +679,8 @@ const struct adapter_info *t3_get_adapter_info(unsigned int board_id);int t3_seeprom_read (struct adapter *adapter,u32 addr,u32 *data);int t3_seeprom_write (struct adapter *adapter,u32 addr,u32 data);int t3_seeprom_wp (struct adapter *adapter,int enable); -int t3_check_tpsram_version (struct adapter *adapter); +int t3_get_tp_version (struct adapter *adapter,u32 *vers); +int t3_check_tpsram_version (struct adapter *adapter,int *must_load);int t3_check_tpsram (struct adapter *adapter,u8 *tp_ram,unsigned int size);int t3_set_proto_sram (struct adapter *adap,u8 *data); int t3_read_flash(struct adapter *adapter, unsigned int addr,
drivers/net/cxgb3/cxgb3_main.c +81 -45
179 lines not on this page · raw message
drivers/net/cxgb3/t3_hw.c +40 -6
69 lines not on this page · raw message