cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

bnxt_nvm_defs.h (2091B)


      1/* Broadcom NetXtreme-C/E network driver.
      2 *
      3 * Copyright (c) 2014-2016 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
     13enum bnxt_nvm_directory_type {
     14	BNX_DIR_TYPE_UNUSED = 0,
     15	BNX_DIR_TYPE_PKG_LOG = 1,
     16	BNX_DIR_TYPE_UPDATE = 2,
     17	BNX_DIR_TYPE_CHIMP_PATCH = 3,
     18	BNX_DIR_TYPE_BOOTCODE = 4,
     19	BNX_DIR_TYPE_VPD = 5,
     20	BNX_DIR_TYPE_EXP_ROM_MBA = 6,
     21	BNX_DIR_TYPE_AVS = 7,
     22	BNX_DIR_TYPE_PCIE = 8,
     23	BNX_DIR_TYPE_PORT_MACRO = 9,
     24	BNX_DIR_TYPE_APE_FW = 10,
     25	BNX_DIR_TYPE_APE_PATCH = 11,
     26	BNX_DIR_TYPE_KONG_FW = 12,
     27	BNX_DIR_TYPE_KONG_PATCH = 13,
     28	BNX_DIR_TYPE_BONO_FW = 14,
     29	BNX_DIR_TYPE_BONO_PATCH = 15,
     30	BNX_DIR_TYPE_TANG_FW = 16,
     31	BNX_DIR_TYPE_TANG_PATCH = 17,
     32	BNX_DIR_TYPE_BOOTCODE_2 = 18,
     33	BNX_DIR_TYPE_CCM = 19,
     34	BNX_DIR_TYPE_PCI_CFG = 20,
     35	BNX_DIR_TYPE_TSCF_UCODE = 21,
     36	BNX_DIR_TYPE_ISCSI_BOOT = 22,
     37	BNX_DIR_TYPE_ISCSI_BOOT_IPV6 = 24,
     38	BNX_DIR_TYPE_ISCSI_BOOT_IPV4N6 = 25,
     39	BNX_DIR_TYPE_ISCSI_BOOT_CFG6 = 26,
     40	BNX_DIR_TYPE_EXT_PHY = 27,
     41	BNX_DIR_TYPE_SHARED_CFG = 40,
     42	BNX_DIR_TYPE_PORT_CFG = 41,
     43	BNX_DIR_TYPE_FUNC_CFG = 42,
     44	BNX_DIR_TYPE_MGMT_CFG = 48,
     45	BNX_DIR_TYPE_MGMT_DATA = 49,
     46	BNX_DIR_TYPE_MGMT_WEB_DATA = 50,
     47	BNX_DIR_TYPE_MGMT_WEB_META = 51,
     48	BNX_DIR_TYPE_MGMT_EVENT_LOG = 52,
     49	BNX_DIR_TYPE_MGMT_AUDIT_LOG = 53
     50};
     51
     52#define BNX_DIR_ORDINAL_FIRST			0
     53
     54#define BNX_DIR_EXT_NONE			0
     55#define BNX_DIR_EXT_INACTIVE			(1 << 0)
     56#define BNX_DIR_EXT_UPDATE			(1 << 1)
     57
     58#define BNX_DIR_ATTR_NONE			0
     59#define BNX_DIR_ATTR_NO_CHKSUM			(1 << 0)
     60#define BNX_DIR_ATTR_PROP_STREAM		(1 << 1)
     61
     62enum bnxnvm_pkglog_field_index {
     63	BNX_PKG_LOG_FIELD_IDX_INSTALLED_TIMESTAMP	= 0,
     64	BNX_PKG_LOG_FIELD_IDX_PKG_DESCRIPTION		= 1,
     65	BNX_PKG_LOG_FIELD_IDX_PKG_VERSION		= 2,
     66	BNX_PKG_LOG_FIELD_IDX_PKG_TIMESTAMP		= 3,
     67	BNX_PKG_LOG_FIELD_IDX_PKG_CHECKSUM		= 4,
     68	BNX_PKG_LOG_FIELD_IDX_INSTALLED_ITEMS		= 5,
     69	BNX_PKG_LOG_FIELD_IDX_INSTALLED_MASK		= 6
     70};
     71
     72#endif				/* Don't add anything after this line */