From: Sarah Sharp Date: Tue, 8 May 2012 14:44:01 +0000 (-0700) Subject: USB: Add macros for interrupt endpoint types. X-Git-Tag: v3.5-rc1~149^2~6^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6538eafc7cb6b2d718d2539bef3158bfaad57468;p=pandora-kernel.git 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 --- Reading git-diff-tree failed