modify usb lun number to 2, and vendor id to be HTC
author陈辉 <chenhui@rock-chips.com>
Tue, 21 Dec 2010 01:59:04 +0000 (09:59 +0800)
committerroot <root@chdroid-desktop.(none)>
Tue, 21 Dec 2010 01:59:04 +0000 (09:59 +0800)
arch/arm/mach-rk29/devices.c

index b4011611657bf7cf21d8fc78204f46df928f7e94..6f5cb47f118b76b0d675964fb5a9f9e165a6d647 100755 (executable)
@@ -636,8 +636,8 @@ static struct android_usb_product usb_products[] = {
  * please change vendor_id to 0x0bb4 and product_id to 0x0c02.
  */
 static struct android_usb_platform_data android_usb_pdata = {
-       .vendor_id      = 0x2207,//0x0bb4,//0x18d1,
-       .product_id     = 0x2810,//0x4e11,
+       .vendor_id      = 0x0bb4,//0x2207,//0x0bb4,//0x18d1,
+       .product_id     = 0x4e11,//0x2810,//0x4e11,
        .version        = 0x0100,
        .product_name           = "rk2818 sdk",
        .manufacturer_name      = "RockChip",
@@ -658,7 +658,7 @@ struct platform_device android_usb_device = {
 
 /********************usb*********************/
 struct usb_mass_storage_platform_data mass_storage_pdata = {
-       .nluns          = 1,
+       .nluns          = 2,
        .vendor         = "RockChip",
        .product        = "rk29 sdk",
        .release        = 0x0100,