Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp8162929pxu; Sat, 26 Dec 2020 19:20:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJzSTHnea+pyjWBpgTREDaiIQy2EwtA14BP4iXt6xVtred5wT9U5ljXxWYezKjpK8SlbZyaP X-Received: by 2002:a17:906:c097:: with SMTP id f23mr37545926ejz.136.1609039229438; Sat, 26 Dec 2020 19:20:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609039229; cv=none; d=google.com; s=arc-20160816; b=jrami7swwVPb8C9OOOlBRLWAaB+pK6Gzyd5gpiAn66JNLBi01LVLrcJLauT1RbuUxG yFRuLqwwhCb0xzCWE26Eld4mMs3OkPM3loJm8+XIoGbQWna82msOVZD6fZVsG4Zf+8vr kHRD86HxwJqwF90tUFgOeSdDgNu+LOsWv6PRpAHQmBf7XBtJDbELdRX2ysrGhjWJ3w6C 6vJpOQx+DD4sTXBczGxvPUgjF4y3bwCDJZ+RNG0CjoJL+SzSt/I9bcOU5nGwS8DJN/hG pN0tMiGM1HkK/nLg2lS2tuRpmxdvbUsvcE6vRPWK0q1Ul3bnnbLAvliJl4GeGICaXOwu RfJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=GYIM+mYtyqY+yCFeee8kL6L8zert0ZB/NFPW/mxtlTk=; b=hHgVORR2pHexVwiDiSz1BX+uwwbSULAk3MIyl/tOqAo2Rd7jf9exmTgijyKCrE3luU h0I00G2/oSCCIGx5SmXYbjPxXGzBFSLZ3AeqL4brqW3wijH1gO5AJmjTgnMW1e8Fwa/w xzK86Y1Gaoey4XJmetcKJhO90K7BMlT81usge7xdr4DfrLMdMuUEKvM2ZzJiOdThzQv1 zHCRNjNHME6JcxGijL/MRMXGAVD91eaRWa6+4k2cg20pWoMxRmf88ibuKI0NhpXf0cLS /rGb5k5q0nlnMYDbEgnHX0W2mn1YVRqsLyUUSM+EVvv08HuaIZFDWtR42MTDwnyMt150 qg0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=VbgBrFUm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lt15si17108850ejb.499.2020.12.26.19.20.06; Sat, 26 Dec 2020 19:20:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=VbgBrFUm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726232AbgL0DSL (ORCPT + 99 others); Sat, 26 Dec 2020 22:18:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726130AbgL0DSK (ORCPT ); Sat, 26 Dec 2020 22:18:10 -0500 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 927DBC0613ED for ; Sat, 26 Dec 2020 19:17:30 -0800 (PST) Received: by mail-pg1-x530.google.com with SMTP id c22so5284157pgg.13 for ; Sat, 26 Dec 2020 19:17:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GYIM+mYtyqY+yCFeee8kL6L8zert0ZB/NFPW/mxtlTk=; b=VbgBrFUmveYY8h4y1bbMn2RhKrS9FALtbLc9FD/ZieS8ZtBEL55Vsm11lczNth7dK5 1P4onFC+lZf9pn6c2hGpYBWMWGwe/NJ+Lk9njYdzsAgJ143iFwL51AblehgEXdUzD5bt Kn5sy5xuE+8imBeipPrtqw1fYUeqdQgZGyMP4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GYIM+mYtyqY+yCFeee8kL6L8zert0ZB/NFPW/mxtlTk=; b=HdVXfqsC3yHxDocAyW1mKpWtsiaUo2bVSVVa8xdqRHuN5x2X0hxqiRrqMUBpMDIpIo xLisQkI8o5dj8ab2+VDuj1F+lUFOCy2FDNijbm+62aPsGHRssFejscMnVsOqEs+FZT1v piYHuZFmB0n/kS6XDEfVApzgKfNXxAsGfCaz339n3qqbSbopVQ8tSsGms/rHy5NOX6/S iUHZEaRE8iCQo9WilhIJ/XlzbE0q9OWg+0MxF7nolu4XDKRBclLfzCo2ACMIPqOwuU8S dVu388/iH57c1bA02SyPKO2dMU2ZuG2KzdJT0wmFNi3hwsYvJXoRu6jX/dG8aXyyhPJC J/hQ== X-Gm-Message-State: AOAM531w7dH9+JkOnvMTOHm6Kb6Ag/6TcFyrS0J2tJmb4SqzaktOjk18 o2fvM29dKhcvbo77ayNzCp5Q9w== X-Received: by 2002:aa7:8f0e:0:b029:19e:5a34:8c85 with SMTP id x14-20020aa78f0e0000b029019e5a348c85mr36090800pfr.22.1609039050020; Sat, 26 Dec 2020 19:17:30 -0800 (PST) Received: from shiro.work (p1268123-ipngn200803sizuokaden.shizuoka.ocn.ne.jp. [118.13.124.123]) by smtp.googlemail.com with ESMTPSA id v10sm8928967pjr.47.2020.12.26.19.17.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Dec 2020 19:17:29 -0800 (PST) From: Daniel Palmer To: johan@kernel.org, linux-usb@vger.kernel.org Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, Daniel Palmer Subject: [PATCH] USB: serial: option: add LongSung M5710 module support Date: Sun, 27 Dec 2020 12:17:16 +0900 Message-Id: <20201227031716.1343300-1-daniel@0x0f.com> X-Mailer: git-send-email 2.30.0.rc2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a vendor id for LongSung and a product id for the M5710 module. Signed-off-by: Daniel Palmer --- drivers/usb/serial/option.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 2c21e34235bb..2666e061c38d 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -560,6 +560,9 @@ static void option_instat_callback(struct urb *urb); #define WETELECOM_PRODUCT_6802 0x6802 #define WETELECOM_PRODUCT_WMD300 0x6803 +/* LongSung */ +#define LONGSUNG_VENDOR_ID 0x2df3 +#define LONGSUNG_PRODUCT_M5710 0x9d03 /* Device flags */ @@ -2060,6 +2063,8 @@ static const struct usb_device_id option_ids[] = { { USB_DEVICE_INTERFACE_CLASS(0x305a, 0x1404, 0xff) }, /* GosunCn GM500 RNDIS */ { USB_DEVICE_INTERFACE_CLASS(0x305a, 0x1405, 0xff) }, /* GosunCn GM500 MBIM */ { USB_DEVICE_INTERFACE_CLASS(0x305a, 0x1406, 0xff) }, /* GosunCn GM500 ECM/NCM */ + /* LongSung devices */ + { USB_DEVICE(LONGSUNG_VENDOR_ID, LONGSUNG_PRODUCT_M5710) }, /* LongSung M5710 */ { } /* Terminating entry */ }; MODULE_DEVICE_TABLE(usb, option_ids); -- 2.30.0.rc2