Dear Johan & Greg:
I can't find remove pid(0xfff6 to 0xfffd and 0xffec/0xffee) back to
zte_ev.c or option.c in git.
please make sure that pid had been added. thanks.
lei.liu.
At 2014-08-28 06:46:54, "Johan Hovold" <[email protected]> wrote:
>Add back some PIDs that were mistakingly remove when reverting commit
>73228a0538a7 ("USB: option,zte_ev: move most ZTE CDMA devices to
>zte_ev"), which apparently did more than its commit message claimed in
>that it not only moved some PIDs from option to zte_ev but also added
>some new ones.
>
>Fixes: 63a901c06e3c ("Revert "USB: option,zte_ev: move most ZTE CDMA
>devices to zte_ev"")
>
>Reported-by: Lei Liu <[email protected]>
>Cc: stable <[email protected]>
>Signed-off-by: Johan Hovold <[email protected]>
>---
>
>Greg, this one should also go in to rc3 along with the offending commit
>if possible.
>
>The zte_ev driver is scheduled for removal in 3.18, but lets add back
>the PIDs that has never been handled by any other driver in the mean
>time (rather than move them to option directly).
>
>Johan
>
>
> drivers/usb/serial/zte_ev.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
>diff --git a/drivers/usb/serial/zte_ev.c b/drivers/usb/serial/zte_ev.c
>index 1a132e9e947a..c9bb107d5e5c 100644
>--- a/drivers/usb/serial/zte_ev.c
>+++ b/drivers/usb/serial/zte_ev.c
>@@ -272,6 +272,14 @@ static void zte_ev_usb_serial_close(struct
>usb_serial_port *port)
> }
>
> static const struct usb_device_id id_table[] = {
>+ { USB_DEVICE(0x19d2, 0xffec) },
>+ { USB_DEVICE(0x19d2, 0xffee) },
>+ { USB_DEVICE(0x19d2, 0xfff6) },
>+ { USB_DEVICE(0x19d2, 0xfff7) },
>+ { USB_DEVICE(0x19d2, 0xfff8) },
>+ { USB_DEVICE(0x19d2, 0xfff9) },
>+ { USB_DEVICE(0x19d2, 0xfffb) },
>+ { USB_DEVICE(0x19d2, 0xfffc) },
> /* MG880 */
> { USB_DEVICE(0x19d2, 0xfffd) },
> { },
>--
>1.8.5.5
>