Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/pci/pcivar.h
Show First 20 Lines • Show All 168 Lines • ▼ Show 20 Lines | struct pcicfg_ea { | ||||
int ea_location; /* Structure offset in Configuration Header */ | int ea_location; /* Structure offset in Configuration Header */ | ||||
STAILQ_HEAD(, pci_ea_entry) ea_entries; /* EA entries */ | STAILQ_HEAD(, pci_ea_entry) ea_entries; /* EA entries */ | ||||
}; | }; | ||||
#define PCICFG_VF 0x0001 /* Device is an SR-IOV Virtual Function */ | #define PCICFG_VF 0x0001 /* Device is an SR-IOV Virtual Function */ | ||||
/* config header information common to all header types */ | /* config header information common to all header types */ | ||||
typedef struct pcicfg { | typedef struct pcicfg { | ||||
struct device *dev; /* device which owns this */ | device_t dev; /* device which owns this */ | ||||
STAILQ_HEAD(, pci_map) maps; /* BARs */ | STAILQ_HEAD(, pci_map) maps; /* BARs */ | ||||
uint16_t subvendor; /* card vendor ID */ | uint16_t subvendor; /* card vendor ID */ | ||||
uint16_t subdevice; /* card device ID, assigned by card vendor */ | uint16_t subdevice; /* card device ID, assigned by card vendor */ | ||||
uint16_t vendor; /* chip vendor ID */ | uint16_t vendor; /* chip vendor ID */ | ||||
uint16_t device; /* chip device ID, assigned by chip vendor */ | uint16_t device; /* chip device ID, assigned by chip vendor */ | ||||
▲ Show 20 Lines • Show All 449 Lines • Show Last 20 Lines |