]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/2.6.32.10/usb-fix-the-idproduct-value-for-usb-3.0-root-hubs.patch
5.1-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 2.6.32.10 / usb-fix-the-idproduct-value-for-usb-3.0-root-hubs.patch
1 From cd780694920fbf869b23c8afb0bd083e7b0448c7 Mon Sep 17 00:00:00 2001
2 From: Alan Stern <stern@rowland.harvard.edu>
3 Date: Thu, 25 Feb 2010 13:19:37 -0500
4 Subject: USB: fix the idProduct value for USB-3.0 root hubs
5
6 From: Alan Stern <stern@rowland.harvard.edu>
7
8 commit cd780694920fbf869b23c8afb0bd083e7b0448c7 upstream.
9
10 This patch (as1346) changes the idProduct value for USB-3.0 root hubs
11 from 0x0002 (which we already use for USB-2.0 root hubs) to 0x0003.
12
13 Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
14 Acked-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
15 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
16
17 ---
18 drivers/usb/core/hcd.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21 --- a/drivers/usb/core/hcd.c
22 +++ b/drivers/usb/core/hcd.c
23 @@ -140,7 +140,7 @@ static const u8 usb3_rh_dev_descriptor[1
24 0x09, /* __u8 bMaxPacketSize0; 2^9 = 512 Bytes */
25
26 0x6b, 0x1d, /* __le16 idVendor; Linux Foundation */
27 - 0x02, 0x00, /* __le16 idProduct; device 0x0002 */
28 + 0x03, 0x00, /* __le16 idProduct; device 0x0003 */
29 KERNEL_VER, KERNEL_REL, /* __le16 bcdDevice */
30
31 0x03, /* __u8 iManufacturer; */