Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/usb/controller/generic_xhci.h
Show All 27 Lines | |||||
#ifndef _GENERIC_XHCI_H_ | #ifndef _GENERIC_XHCI_H_ | ||||
#define _GENERIC_XHCI_H_ | #define _GENERIC_XHCI_H_ | ||||
#define XHCI_HC_DEVSTR "Generic USB 3.0 controller" | #define XHCI_HC_DEVSTR "Generic USB 3.0 controller" | ||||
#define XHCI_HC_VENDOR "Generic" | #define XHCI_HC_VENDOR "Generic" | ||||
extern driver_t generic_xhci_driver; | extern driver_t generic_xhci_driver; | ||||
/* For unusual controllers like DWC3, two parts of attach are available | |||||
* separately in order to allow custom initialization in between. */ | |||||
device_attach_t generic_xhci_init_resources; | |||||
device_attach_t generic_xhci_init_controller; | |||||
device_attach_t generic_xhci_attach; | device_attach_t generic_xhci_attach; | ||||
device_detach_t generic_xhci_detach; | device_detach_t generic_xhci_detach; | ||||
#endif /* !_GENERIC_XHCI_H_ */ | #endif /* !_GENERIC_XHCI_H_ */ |