/* Number of supported ports. Value has an upperbound of USB_MAXCHILDREN */ #ifdef CONFIG_USBIP_VHCI_HC_PORTS #define VHCI_HC_PORTS CONFIG_USBIP_VHCI_HC_PORTS #else #define VHCI_HC_PORTS 8 #endif
/* Each VHCI has 2 hubs (USB2 and USB3), each has VHCI_HC_PORTS ports */ #define VHCI_PORTS (VHCI_HC_PORTS*2)
/* for usb_hcd.hcd_priv[0] */ struct vhci_hcd { struct vhci *vhci;
u32 port_status[VHCI_HC_PORTS];
unsigned resuming:1; unsignedlong re_timeout;
atomic_t seqnum;
/* * NOTE: * wIndex shows the port number and begins from 1. * But, the index of this array begins from 0.
*/ struct vhci_device vdev[VHCI_HC_PORTS];
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.