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