summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/orinoco/orinoco_usb.c
diff options
context:
space:
mode:
authorSarah Sharp2012-05-08 16:44:01 +0200
committerSarah Sharp2012-05-19 00:42:02 +0200
commit6538eafc7cb6b2d718d2539bef3158bfaad57468 (patch)
tree44981a2e18be90cf52ebe3f4ee1a2c98f060c3eb /drivers/net/wireless/orinoco/orinoco_usb.c
parentxhci: Reserve one command for USB3 LPM disable. (diff)
downloadkernel-qcow2-linux-6538eafc7cb6b2d718d2539bef3158bfaad57468.tar.gz
kernel-qcow2-linux-6538eafc7cb6b2d718d2539bef3158bfaad57468.tar.xz
kernel-qcow2-linux-6538eafc7cb6b2d718d2539bef3158bfaad57468.zip
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/net/wireless/orinoco/orinoco_usb.c')
0 files changed, 0 insertions, 0 deletions