mirror of https://gitee.com/openkylin/linux.git
staging: usbip: Updated comment describing VHCI_NPORTS
Updated out-of-date comment describing VHCI_NPORT Signed-off-by: Bart Westgeest <bart@elbrys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bf55b48371
commit
1132b9aafa
|
@ -71,12 +71,7 @@ struct vhci_unlink {
|
|||
unsigned long unlink_seqnum;
|
||||
};
|
||||
|
||||
/*
|
||||
* The number of ports is less than 16 ?
|
||||
* USB_MAXCHILDREN is statically defined to 16 in usb.h. Its maximum value
|
||||
* would be 31 because the event_bits[1] of struct usb_hub is defined as
|
||||
* unsigned long in hub.h
|
||||
*/
|
||||
/* Number of supported ports. Value has an upperbound of USB_MAXCHILDREN */
|
||||
#define VHCI_NPORTS 8
|
||||
|
||||
/* for usb_bus.hcpriv */
|
||||
|
|
Loading…
Reference in New Issue