summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2012-05-08 07:44:01 -0700
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2012-05-18 15:42:02 -0700
commit6538eafc7cb6b2d718d2539bef3158bfaad57468 (patch)
tree44981a2e18be90cf52ebe3f4ee1a2c98f060c3eb /drivers/usb
parentdbc33303e457bc9d9179d628951e6b7c7a3f6056 (diff)
downloadlinux-6538eafc7cb6b2d718d2539bef3158bfaad57468.tar.bz2
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')
0 files changed, 0 insertions, 0 deletions