Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linuxkpi/common/include/linux/pci.h
Show First 20 Lines • Show All 223 Lines • ▼ Show 20 Lines | struct pci_driver { | ||||
void (*remove)(struct pci_dev *dev); | void (*remove)(struct pci_dev *dev); | ||||
int (*suspend) (struct pci_dev *dev, pm_message_t state); /* Device suspended */ | int (*suspend) (struct pci_dev *dev, pm_message_t state); /* Device suspended */ | ||||
int (*resume) (struct pci_dev *dev); /* Device woken up */ | int (*resume) (struct pci_dev *dev); /* Device woken up */ | ||||
void (*shutdown) (struct pci_dev *dev); /* Device shutdown */ | void (*shutdown) (struct pci_dev *dev); /* Device shutdown */ | ||||
driver_t bsddriver; | driver_t bsddriver; | ||||
devclass_t bsdclass; | devclass_t bsdclass; | ||||
struct device_driver driver; | struct device_driver driver; | ||||
const struct pci_error_handlers *err_handler; | const struct pci_error_handlers *err_handler; | ||||
bool isdrm; | int bsd_probe_return; | ||||
int (*bsd_iov_init)(device_t dev, uint16_t num_vfs, | int (*bsd_iov_init)(device_t dev, uint16_t num_vfs, | ||||
const nvlist_t *pf_config); | const nvlist_t *pf_config); | ||||
void (*bsd_iov_uninit)(device_t dev); | void (*bsd_iov_uninit)(device_t dev); | ||||
int (*bsd_iov_add_vf)(device_t dev, uint16_t vfnum, | int (*bsd_iov_add_vf)(device_t dev, uint16_t vfnum, | ||||
const nvlist_t *vf_config); | const nvlist_t *vf_config); | ||||
int bsd_probe_return; | |||||
}; | }; | ||||
struct pci_bus { | struct pci_bus { | ||||
struct pci_dev *self; | struct pci_dev *self; | ||||
int domain; | int domain; | ||||
int number; | int number; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 1,406 Lines • Show Last 20 Lines |