blob: 18ca8ac68fec2b817e92e50ab4962ae60e4dc5b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
/* Copyright (C) 2019 Netronome Systems, Inc. */
#ifndef _NFP_DEV_H_
#define _NFP_DEV_H_
#include <linux/types.h>
enum nfp_dev_id {
NFP_DEV_NFP6000,
NFP_DEV_CNT,
};
struct nfp_dev_info {
const char *chip_names;
u32 pcie_cfg_expbar_offset;
u32 pcie_expl_offset;
};
extern const struct nfp_dev_info nfp_dev_info[NFP_DEV_CNT];
#endif
|