diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2012-05-08 07:44:01 -0700 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2012-05-18 15:42:02 -0700 |
commit | 6538eafc7cb6b2d718d2539bef3158bfaad57468 (patch) | |
tree | 44981a2e18be90cf52ebe3f4ee1a2c98f060c3eb /drivers/usb/host/xhci.c | |
parent | dbc33303e457bc9d9179d628951e6b7c7a3f6056 (diff) | |
download | op-kernel-dev-6538eafc7cb6b2d718d2539bef3158bfaad57468.zip op-kernel-dev-6538eafc7cb6b2d718d2539bef3158bfaad57468.tar.gz |
USB: Add macros for interrupt endpoint types.
The USB 3.0 spec defines a new way of differentiating interrupt
endpoints. The idea is that some interrupt endpoints are used for
notifications, i.e. they continually NAK the transfer until something
changes on the device. Other interrupt endpoints are used as a way to
periodically transfer data.
The USB 3.0 endpoint descriptor uses bits 5:4 of bmAttributes for
interrupt endpoints, to define the endpoint as either a Notification
endpoint, or a Periodic endpoint. Introduce macros to dig out that
information.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/usb/host/xhci.c')
0 files changed, 0 insertions, 0 deletions