summaryrefslogtreecommitdiffstats
path: root/drivers/xen/xen-pciback/conf_space_capability.h
blob: 8da3ac415f297fda0f8b5f8d4f1d49161aeea2ab (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
/*
 * PCI Backend - Data structures for special overlays for structures on
 *               the capability list.
 *
 * Author: Ryan Wilson <hap9@epoch.ncsc.mil>
 */

#ifndef __PCIBACK_CONFIG_CAPABILITY_H__
#define __PCIBACK_CONFIG_CAPABILITY_H__

#include <linux/pci.h>
#include <linux/list.h>

struct pciback_config_capability {
	struct list_head cap_list;

	int capability;

	/* If the device has the capability found above, add these fields */
	const struct config_field *fields;
};

extern struct pciback_config_capability pciback_config_capability_vpd;
extern struct pciback_config_capability pciback_config_capability_pm;

#endif