1 /* Broadcom NetXtreme-C/E network driver. 2 * 3 * Copyright (c) 2014-2015 Broadcom Corporation 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation. 8 */ 9 10 #ifndef _BNXT_NVM_DEFS_H_ 11 #define _BNXT_NVM_DEFS_H_ 12 13 enum bnxt_nvm_directory_type { 14 BNX_DIR_TYPE_UNUSED = 0, 15 BNX_DIR_TYPE_PKG_LOG = 1, 16 BNX_DIR_TYPE_CHIMP_PATCH = 3, 17 BNX_DIR_TYPE_BOOTCODE = 4, 18 BNX_DIR_TYPE_VPD = 5, 19 BNX_DIR_TYPE_EXP_ROM_MBA = 6, 20 BNX_DIR_TYPE_AVS = 7, 21 BNX_DIR_TYPE_PCIE = 8, 22 BNX_DIR_TYPE_PORT_MACRO = 9, 23 BNX_DIR_TYPE_APE_FW = 10, 24 BNX_DIR_TYPE_APE_PATCH = 11, 25 BNX_DIR_TYPE_KONG_FW = 12, 26 BNX_DIR_TYPE_KONG_PATCH = 13, 27 BNX_DIR_TYPE_BONO_FW = 14, 28 BNX_DIR_TYPE_BONO_PATCH = 15, 29 BNX_DIR_TYPE_TANG_FW = 16, 30 BNX_DIR_TYPE_TANG_PATCH = 17, 31 BNX_DIR_TYPE_BOOTCODE_2 = 18, 32 BNX_DIR_TYPE_CCM = 19, 33 BNX_DIR_TYPE_PCI_CFG = 20, 34 BNX_DIR_TYPE_TSCF_UCODE = 21, 35 BNX_DIR_TYPE_ISCSI_BOOT = 22, 36 BNX_DIR_TYPE_ISCSI_BOOT_IPV6 = 24, 37 BNX_DIR_TYPE_ISCSI_BOOT_IPV4N6 = 25, 38 BNX_DIR_TYPE_ISCSI_BOOT_CFG6 = 26, 39 BNX_DIR_TYPE_EXT_PHY = 27, 40 BNX_DIR_TYPE_SHARED_CFG = 40, 41 BNX_DIR_TYPE_PORT_CFG = 41, 42 BNX_DIR_TYPE_FUNC_CFG = 42, 43 BNX_DIR_TYPE_MGMT_CFG = 48, 44 BNX_DIR_TYPE_MGMT_DATA = 49, 45 BNX_DIR_TYPE_MGMT_WEB_DATA = 50, 46 BNX_DIR_TYPE_MGMT_WEB_META = 51, 47 BNX_DIR_TYPE_MGMT_EVENT_LOG = 52, 48 BNX_DIR_TYPE_MGMT_AUDIT_LOG = 53 49 }; 50 51 #define BNX_DIR_ORDINAL_FIRST 0 52 53 #define BNX_DIR_EXT_INACTIVE (1 << 0) 54 #define BNX_DIR_EXT_UPDATE (1 << 1) 55 56 #define BNX_DIR_ATTR_NO_CHKSUM (1 << 0) 57 #define BNX_DIR_ATTR_PROP_STREAM (1 << 1) 58 59 #endif /* Don't add anything after this line */ 60