linux/drivers/net/ethernet/broadcom/bnx2x/bnx2x_dump.h

/* bnx2x_dump.h: QLogic Everest network driver.
 *
 * Copyright (c) 2012-2013 Broadcom Corporation
 * Copyright (c) 2014 QLogic Corporation
 * All rights reserved
 *
 * Unless you and QLogic execute a separate written software license
 * agreement governing use of this software, this software is licensed to you
 * under the terms of the GNU General Public License version 2, available
 * at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html (the "GPL").
 *
 * Notwithstanding the above, under no circumstances may you combine this
 * software in any way with any other QLogic software provided under a
 * license other than the GPL, without QLogic's express prior written
 * consent.
 */

#ifndef BNX2X_DUMP_H
#define BNX2X_DUMP_H

/* WaitP Definitions */
#define DRV_DUMP_XSTORM_WAITP_ADDRESS
#define DRV_DUMP_TSTORM_WAITP_ADDRESS
#define DRV_DUMP_USTORM_WAITP_ADDRESS
#define DRV_DUMP_CSTORM_WAITP_ADDRESS

/* Possible Chips */
#define DUMP_CHIP_E1
#define DUMP_CHIP_E1H
#define DUMP_CHIP_E2
#define DUMP_CHIP_E3A0
#define DUMP_CHIP_E3B0
#define DUMP_PATH_0
#define DUMP_PATH_1
#define NUM_PRESETS
#define NUM_CHIPS

struct	dump_header {};

#define BNX2X_DUMP_VERSION
struct reg_addr {};

struct wreg_addr {};

#define PAGE_MODE_VALUES_E2
#define PAGE_READ_REGS_E2
#define PAGE_WRITE_REGS_E2
static const u32 page_vals_e2[] =;
static const u32 page_write_regs_e2[] =;
static const struct reg_addr page_read_regs_e2[] =;

#define PAGE_MODE_VALUES_E3
#define PAGE_READ_REGS_E3
#define PAGE_WRITE_REGS_E3
static const u32 page_vals_e3[] =;
static const u32 page_write_regs_e3[] =;
static const struct reg_addr page_read_regs_e3[] =;

static const struct reg_addr reg_addrs[] =;

#define REGS_COUNT

static const struct reg_addr idle_reg_addrs[] =;

#define IDLE_REGS_COUNT

static const u32 read_reg_e1[] =;

static const struct wreg_addr wreg_addr_e1 =;

static const u32 read_reg_e1h[] =;

static const struct wreg_addr wreg_addr_e1h =;

static const u32 read_reg_e2[] =;

static const struct wreg_addr wreg_addr_e2 =;

static const u32 read_reg_e3[] =;

static const struct wreg_addr wreg_addr_e3 =;

static const u32 read_reg_e3b0[] =;

static const struct wreg_addr wreg_addr_e3b0 =;

static const unsigned int dump_num_registers[NUM_CHIPS][NUM_PRESETS] =;
#endif