mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 22:53:55 +08:00
c0c050c58d
Broadcom ethernet driver for the new family of NetXtreme-C/E ethernet devices. v5: - Removed empty blank lines at end of files (noted by David Miller). - Moved busy poll helper functions to bnxt.h to at least make the .c file look less cluttered with #ifdef (noted by Stephen Hemminger). v4: - Broke up 2 long message strings with "\n" (suggested by John Linville) - Constify an array of strings (suggested by Stephen Hemminger) - Improve bnxt_vf_pciid() (suggested by Stephen Hemminger) - Use PCI_VDEVICE() to populate pci_device_id table for more compact source. v3: - Fixed 2 more sparse warnings. - Removed some unused structures in .h files. v2: - Fixed all kbuild test robot reported warnings. - Fixed many of the checkpatch.pl errors and warnings. - Fixed the Kconfig description (noted by Dmitry Kravkov). Acked-by: Eddie Wai <eddie.wai@broadcom.com> Acked-by: Jeffrey Huang <huangjw@broadcom.com> Signed-off-by: Prashant Sreedharan <prashant@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
60 lines
1.6 KiB
C
60 lines
1.6 KiB
C
/* Broadcom NetXtreme-C/E network driver.
|
|
*
|
|
* Copyright (c) 2014-2015 Broadcom Corporation
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef _BNXT_NVM_DEFS_H_
|
|
#define _BNXT_NVM_DEFS_H_
|
|
|
|
enum bnxt_nvm_directory_type {
|
|
BNX_DIR_TYPE_UNUSED = 0,
|
|
BNX_DIR_TYPE_PKG_LOG = 1,
|
|
BNX_DIR_TYPE_CHIMP_PATCH = 3,
|
|
BNX_DIR_TYPE_BOOTCODE = 4,
|
|
BNX_DIR_TYPE_VPD = 5,
|
|
BNX_DIR_TYPE_EXP_ROM_MBA = 6,
|
|
BNX_DIR_TYPE_AVS = 7,
|
|
BNX_DIR_TYPE_PCIE = 8,
|
|
BNX_DIR_TYPE_PORT_MACRO = 9,
|
|
BNX_DIR_TYPE_APE_FW = 10,
|
|
BNX_DIR_TYPE_APE_PATCH = 11,
|
|
BNX_DIR_TYPE_KONG_FW = 12,
|
|
BNX_DIR_TYPE_KONG_PATCH = 13,
|
|
BNX_DIR_TYPE_BONO_FW = 14,
|
|
BNX_DIR_TYPE_BONO_PATCH = 15,
|
|
BNX_DIR_TYPE_TANG_FW = 16,
|
|
BNX_DIR_TYPE_TANG_PATCH = 17,
|
|
BNX_DIR_TYPE_BOOTCODE_2 = 18,
|
|
BNX_DIR_TYPE_CCM = 19,
|
|
BNX_DIR_TYPE_PCI_CFG = 20,
|
|
BNX_DIR_TYPE_TSCF_UCODE = 21,
|
|
BNX_DIR_TYPE_ISCSI_BOOT = 22,
|
|
BNX_DIR_TYPE_ISCSI_BOOT_IPV6 = 24,
|
|
BNX_DIR_TYPE_ISCSI_BOOT_IPV4N6 = 25,
|
|
BNX_DIR_TYPE_ISCSI_BOOT_CFG6 = 26,
|
|
BNX_DIR_TYPE_EXT_PHY = 27,
|
|
BNX_DIR_TYPE_SHARED_CFG = 40,
|
|
BNX_DIR_TYPE_PORT_CFG = 41,
|
|
BNX_DIR_TYPE_FUNC_CFG = 42,
|
|
BNX_DIR_TYPE_MGMT_CFG = 48,
|
|
BNX_DIR_TYPE_MGMT_DATA = 49,
|
|
BNX_DIR_TYPE_MGMT_WEB_DATA = 50,
|
|
BNX_DIR_TYPE_MGMT_WEB_META = 51,
|
|
BNX_DIR_TYPE_MGMT_EVENT_LOG = 52,
|
|
BNX_DIR_TYPE_MGMT_AUDIT_LOG = 53
|
|
};
|
|
|
|
#define BNX_DIR_ORDINAL_FIRST 0
|
|
|
|
#define BNX_DIR_EXT_INACTIVE (1 << 0)
|
|
#define BNX_DIR_EXT_UPDATE (1 << 1)
|
|
|
|
#define BNX_DIR_ATTR_NO_CHKSUM (1 << 0)
|
|
#define BNX_DIR_ATTR_PROP_STREAM (1 << 1)
|
|
|
|
#endif /* Don't add anything after this line */
|