blob: 9152785199abc4e4bbf92be8e412e57ffad53a48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright 2018-2020 Broadcom.
*/
#ifndef BCM_VK_H
#define BCM_VK_H
#include <linux/pci.h>
#define DRV_MODULE_NAME "bcm-vk"
/* VK device supports a maximum of 3 bars */
#define MAX_BAR 3
enum pci_barno {
BAR_0 = 0,
BAR_1,
BAR_2
};
#define BCM_VK_NUM_TTY 2
struct bcm_vk {
struct pci_dev *pdev;
void __iomem *bar[MAX_BAR];
};
#endif
|