• Vladislav Zolotarov's avatar
    bnx2x: Separated FW from the source. · 0eae2a4d
    Vladislav Zolotarov authored
    >From now on FW will be downloaded from the binary file using request_firmware.
    
    There will be different files for every supported chip. Currently 57710 (e1) and
    57711 (e1h).
    
    File names have the following format: bnx2x-<chip version>-<FW version>.fw.
    ihex versions of current FW files are submitted in the next patch.
    
    Each binary file has a header in the following format:
    
    
    struct bnx2x_fw_file_section {
    	__be32 len;
    	__be32 offset;
    }
    
    struct bnx2x_fw_file_hdr {
    	struct bnx2x_fw_file_section init_ops;
    	struct bnx2x_fw_file_section init_ops_offsets;
    	struct bnx2x_fw_file_section init_data;
    	struct bnx2x_fw_file_section tsem_int_table_data;
    	struct bnx2x_fw_file_section tsem_pram_data;
    	struct bnx2x_fw_file_section usem_int_table_data;
    	struct bnx2x_fw_file_section usem_pram_data;
    	struct bnx2x_fw_file_section csem_int_table_data;
    	struct bnx2x_fw_file_section csem_pram_data;
    	struct bnx2x_fw_file_section xsem_int_table_data;
    	struct bnx2x_fw_file_section xsem_pram_data;...
    0eae2a4d
WHENCE 20 KB