Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
8b995148
Commit
8b995148
authored
Sep 08, 2014
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
greybus: es1_ap_desc.c: updated ES1 USB device descriptor
Interrupt IN endpoint added.
parent
fe327042
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
drivers/staging/greybus/es1_ap_desc.c
drivers/staging/greybus/es1_ap_desc.c
+11
-4
No files found.
drivers/staging/greybus/es1_ap_desc.c
View file @
8b995148
/* ES1 AP Bridge Chip USB descriptor definitions */
static
const
u8
es1_dev_descriptor
[]
=
{
static
const
u8
es1_dev_descriptor
[]
=
{
0x12
,
/* __u8 bLength */
0x12
,
/* __u8 bLength */
...
@@ -45,19 +46,25 @@ static const u8 es1_config_descriptor[] = {
...
@@ -45,19 +46,25 @@ static const u8 es1_config_descriptor[] = {
0xff
,
/* __u8 if_bInterfaceProtocol; Vendor-specific */
0xff
,
/* __u8 if_bInterfaceProtocol; Vendor-specific */
0x00
,
/* __u8 if_iInterface; */
0x00
,
/* __u8 if_iInterface; */
/* t
wo
endpoints */
/* t
hree
endpoints */
0x07
,
/* __u8 ep_bLength; */
0x07
,
/* __u8 ep_bLength; */
0x05
,
/* __u8 ep_bDescriptorType; Endpoint */
0x05
,
/* __u8 ep_bDescriptorType; Endpoint */
0x81
,
/* __u8 ep_bEndpointAddress; IN Endpoint 1 */
0x81
,
/* __u8 ep_bEndpointAddress; IN Endpoint 1 */
0x03
,
/* __u8 ep_bmAttributes; Bulk */
0x00
,
0x04
,
/* __le16 ep_wMaxPacketSize; 1024 */
0x00
/* __u8 ep_bInterval; */
0x07
,
/* __u8 ep_bLength; */
0x05
,
/* __u8 ep_bDescriptorType; Endpoint */
0x82
,
/* __u8 ep_bEndpointAddress; IN Endpoint 2 */
0x02
,
/* __u8 ep_bmAttributes; Bulk */
0x02
,
/* __u8 ep_bmAttributes; Bulk */
0x
40
,
0x00
,
/* __le16 ep_wMaxPacketSize; 64???
*/
0x
00
,
0x04
,
/* __le16 ep_wMaxPacketSize; 1024
*/
0x00
/* __u8 ep_bInterval; */
0x00
/* __u8 ep_bInterval; */
0x07
,
/* __u8 ep_bLength; */
0x07
,
/* __u8 ep_bLength; */
0x05
,
/* __u8 ep_bDescriptorType; Endpoint */
0x05
,
/* __u8 ep_bDescriptorType; Endpoint */
0x02
,
/* __u8 ep_bEndpointAddress; Out Endpoint 2 */
0x02
,
/* __u8 ep_bEndpointAddress; Out Endpoint 2 */
0x02
,
/* __u8 ep_bmAttributes; Bulk */
0x02
,
/* __u8 ep_bmAttributes; Bulk */
0x
40
,
0x00
,
/* __le16 ep_wMaxPacketSize; 64???
*/
0x
00
,
0x04
,
/* __le16 ep_wMaxPacketSize; 1024
*/
0x00
/* __u8 ep_bInterval; */
0x00
/* __u8 ep_bInterval; */
};
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment