linux/drivers/net/ethernet/brocade/bna/bfa_defs.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Linux network driver for QLogic BR-series Converged Network Adapter.
 */
/*
 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc.
 * Copyright (c) 2014-2015 QLogic Corporation
 * All rights reserved
 * www.qlogic.com
 */

#ifndef __BFA_DEFS_H__
#define __BFA_DEFS_H__

#include "cna.h"
#include "bfa_defs_status.h"
#include "bfa_defs_mfg_comm.h"

#define BFA_VERSION_LEN

/* ---------------------- adapter definitions ------------ */

/* BFA adapter level attributes. */
enum {};

struct bfa_adapter_attr {};

/* ---------------------- IOC definitions ------------ */

enum {};

/* Driver and firmware versions. */
struct bfa_ioc_driver_attr {};

/* IOC PCI device attributes */
struct bfa_ioc_pci_attr {};

/* IOC states */
enum bfa_ioc_state {};

/* IOC firmware stats */
struct bfa_fw_ioc_stats {};

/* IOC driver stats */
struct bfa_ioc_drv_stats {};

/* IOC statistics */
struct bfa_ioc_stats {};

enum bfa_ioc_type {};

/* IOC attributes returned in queries */
struct bfa_ioc_attr {};

/* Adapter capability mask definition */
enum {};

/* ---------------------- mfg definitions ------------ */

/* Checksum size */
#define BFA_MFG_CHKSUM_SIZE

#define BFA_MFG_PARTNUM_SIZE
#define BFA_MFG_SUPPLIER_ID_SIZE
#define BFA_MFG_SUPPLIER_PARTNUM_SIZE
#define BFA_MFG_SUPPLIER_SERIALNUM_SIZE
#define BFA_MFG_SUPPLIER_REVISION_SIZE

/* BFA adapter manufacturing block definition.
 *
 * All numerical fields are in big-endian format.
 */
struct bfa_mfg_block {} __packed;

/* ---------------------- pci definitions ------------ */

/*
 * PCI device ID information
 */
enum {};

#define bfa_asic_id_ct(device)
#define bfa_asic_id_ct2(device)
#define bfa_asic_id_ctc(device)

/* PCI sub-system device and vendor ID information */
enum {};

enum bfa_mode {};

/*
 *	Flash module specific
 */
#define BFA_FLASH_PART_ENTRY_SIZE
#define BFA_FLASH_PART_MAX
#define BFA_TOTAL_FLASH_SIZE
#define BFA_FLASH_PART_FWIMG
#define BFA_FLASH_PART_MFG

/*
 * flash partition attributes
 */
struct bfa_flash_part_attr {};

/*
 * flash attributes
 */
struct bfa_flash_attr {};

#endif /* __BFA_DEFS_H__ */