blob: d920bb0054117536530af40e78f7477d5fdef531 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include <linux/init.h>
#include <linux/module.h>
#include <linux/pci.h>
#define PCI_VENDOR_ID_ILLEGAL_VENDOR 0xffff
#define PCI_DEVICE_ID_ILLEGAL_VENDOR_DEVICE 0x2342
struct vain_pci_info {
void __iomem *base;
struct pci_dev *pdev;
spinlock_t lock;
};
static struct pci_device_id vain_pci_ids[] __devinitdata = {
{PCI_VENDOR_ID_ILLEGAL_VENDOR,
PCI_DEVICE_ID_ILLEGAL_VENDOR_DEVICE,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ /* end of table */ }
};
MODULE_DEVICE_TABLE(pci, vain_pci_ids);
|