[PATCH 1/1]linux-usb:optimize to match the Huawei USB storage devices and support new switch command

2013-01-22 Thread fangxiaozhi 00110321
From: fangxiaozhi huana...@huawei.com 1. Optimize the match rules with new macro for Huawei USB storage devices, to avoid to load USB storage driver for the modem interface with Huawei devices. 2. Add to support new switch command for new Huawei USB dongles. Signed-off-by: fangxiaozhi

Re: [PATCH 1/1]linux-usb:optimize to match the Huawei USB storage devices and support new switch command

2013-01-13 Thread Sebastian Andrzej Siewior
On Thu, Jan 10, 2013 at 10:27:14AM +, Fangxiaozhi (Franko) wrote: You mean that we have to write as follows? + memset(bcbw, 0, sizeof(struct bulk_cb_wrap)); + bcbw-Signature = cpu_to_le32(US_BULK_CB_SIGN); + bcbw-Length = sizeof(rewind_cmd); Right? Excatly.

RE: [PATCH 1/1]linux-usb:optimize to match the Huawei USB storage devices and support new switch command

2013-01-10 Thread Fangxiaozhi (Franko)
Dear Sebastian: -Original Message- From: Sebastian Andrzej Siewior [mailto:sebast...@breakpoint.cc] Sent: Thursday, January 10, 2013 5:30 AM To: Fangxiaozhi (Franko) Cc: Linlei (Lei Lin); Huqiao (C); linux-usb@vger.kernel.org Subject: Re: [PATCH 1/1]linux-usb:optimize to match the

Re: [PATCH 1/1]linux-usb:optimize to match the Huawei USB storage devices and support new switch command

2013-01-09 Thread Sebastian Andrzej Siewior
keep the CC list please. On Wed, Jan 09, 2013 at 07:28:43AM +, Fangxiaozhi (Franko) wrote: +/* This function will send + * a scsi switch command called rewind' to huawei dongle. + * When the dongle receives this command at the first time, + * it will reboot immediately, + *

Re: [PATCH 1/1]linux-usb:optimize to match the Huawei USB storage devices and support new switch command

2013-01-08 Thread Sebastian Andrzej Siewior
On Sat, Jan 05, 2013 at 10:57:42AM +0800, fangxiaozhi 00110321 wrote: From: fangxiaozhi huana...@huawei.com 1. Optimize the match rules with new macro for Huawei USB storage devices, to avoid to load USB storage driver for the modem interface with Huawei devices. 2. Add to support