treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / net / ethernet / broadcom / bnx2x / bnx2x_fw_file_hdr.h
blob9e3b5a1e9f4f490bec6f74d1cb1f5c949289d67d
1 /* bnx2x_fw_file_hdr.h: FW binary file header structure.
3 * Copyright (c) 2007-2013 Broadcom Corporation
4 * Copyright (c) 2014 QLogic Corporation
5 * All rights reserved
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation.
11 * Maintained by: Ariel Elior <ariel.elior@qlogic.com>
12 * Written by: Vladislav Zolotarov
13 * Based on the original idea of John Wright <john.wright@hp.com>.
16 #ifndef BNX2X_INIT_FILE_HDR_H
17 #define BNX2X_INIT_FILE_HDR_H
19 struct bnx2x_fw_file_section {
20 __be32 len;
21 __be32 offset;
24 struct bnx2x_fw_file_hdr {
25 struct bnx2x_fw_file_section init_ops;
26 struct bnx2x_fw_file_section init_ops_offsets;
27 struct bnx2x_fw_file_section init_data;
28 struct bnx2x_fw_file_section tsem_int_table_data;
29 struct bnx2x_fw_file_section tsem_pram_data;
30 struct bnx2x_fw_file_section usem_int_table_data;
31 struct bnx2x_fw_file_section usem_pram_data;
32 struct bnx2x_fw_file_section csem_int_table_data;
33 struct bnx2x_fw_file_section csem_pram_data;
34 struct bnx2x_fw_file_section xsem_int_table_data;
35 struct bnx2x_fw_file_section xsem_pram_data;
36 struct bnx2x_fw_file_section iro_arr;
37 struct bnx2x_fw_file_section fw_version;
40 #endif /* BNX2X_INIT_FILE_HDR_H */