From patchwork Mon Feb 19 05:33:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Werner X-Patchwork-Id: 202900 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp1094356dyc; Sun, 18 Feb 2024 21:34:39 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUCwuEoMsEr8SJpmJOONxgb/gNcKBjW6Z8MZsM08d93rz5baGzPuOaxd3qzn9fzpIOVPU3AM1j7MpUf+jbi/ylPU+qXtA== X-Google-Smtp-Source: AGHT+IEhsbyBTHuo9A20MqRFMR0eUCcQVLqtXlWXCyBA4agF3PwvTwTdqj9yJnEevQAYe0yRgdUa X-Received: by 2002:a05:690c:82e:b0:607:9796:db4f with SMTP id by14-20020a05690c082e00b006079796db4fmr9810575ywb.5.1708320879613; Sun, 18 Feb 2024 21:34:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708320879; cv=pass; d=google.com; s=arc-20160816; b=Z9y0Ctop+CLszYvuYpQ96i8IOdbeX7D0hiQ1ZNwI6Q/xqHzIvaHJVXvarthG+QVkFp kgTs1wICv5SDWCOywFuFNTRyli0C8z4Jw7Ifh56Rr6zPl/O6dA0PJyWzuoGYV5GWXlu1 KyVhHU+zOgwpioXiahOnaVY9A5TDgQFr7suZF9qkvRdkUzac3YbQmbwubMsUdvxWTz4u TwMpterHN3TGdZ5e3r/y/CY4YBlrRc8uYUHtJtnMx/EOQG5EhIO1gxtu/rpapodPaKwU Fath/CoQLEox5g1QAFbx0UjTLqShm2YgcZWJONSv5KL/40orr7S8W+q8q0WQNL7yQLBw DN9Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature:dkim-filter; bh=x6qX/th2i89rUvITb5zg/0LyG7dJqopWpijkvJGJMwQ=; fh=nuztw5Fr9DB+dEUxB5AzU6PwzaNjp5qzxY7ny3xNzKI=; b=LMQuNQr08VdNRHEPzvS/O+Vr+xphw2TS0jGm9Al8mXZejWcx+zhiMuAX11A7hgGh9h E+pgMKnxUDZ1gGF4U5NMMjeLf92QFIwb/5G6Q24X65QHn/1D71S0d15RTBD6XSN0OSZL oRU/L2NlkiBLy1wJnZWaAOJiMedZp6pgzak06JhVmSEe0Jq/6z6XfoYSd15Vwtp72VEY c9/4F6i8rQl2R/sD8nW5ifaca5YPkw+bwCGbDekNN0n/fgt4oTn6snorl9SZgRzvs0f3 NSoCAr6muYPrpKhHHKQA8/tkjBahrQ6a6uWefsNHO4MRtg6Rd7Z01chBMioBSLfYJutR zHaA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@systec-electronic.com header.s=B34D3B04-5DC7-11EE-83E3-4D8CAB78E8CD header.b=EiUm+fx9; arc=pass (i=1 spf=pass spfdomain=systec-electronic.com dkim=pass dkdomain=systec-electronic.com); spf=pass (google.com: domain of linux-kernel+bounces-70739-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70739-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i22-20020ac87656000000b0042dfa21270bsi3907823qtr.605.2024.02.18.21.34.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 21:34:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70739-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@systec-electronic.com header.s=B34D3B04-5DC7-11EE-83E3-4D8CAB78E8CD header.b=EiUm+fx9; arc=pass (i=1 spf=pass spfdomain=systec-electronic.com dkim=pass dkdomain=systec-electronic.com); spf=pass (google.com: domain of linux-kernel+bounces-70739-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70739-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 65DBB1C21766 for ; Mon, 19 Feb 2024 05:34:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 882A32030D; Mon, 19 Feb 2024 05:34:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=systec-electronic.com header.i=@systec-electronic.com header.b="EiUm+fx9" Received: from mail.systec-electronic.com (mail.systec-electronic.com [77.220.239.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2CC731CD15; Mon, 19 Feb 2024 05:34:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=77.220.239.22 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708320859; cv=none; b=JI6LXym0YTf3+l4VOgY+7AKYjiyZXO1iaINkpsQVP5yfOpWufKLGiVcHeGl91FU7WBV4RBwImtHMweIrgz3aE9D0Gmts15ZPUBWFPdFTxt5huZxmRBicPvjm+3NywVKQJEgHgwOoFPFYYfeMX7AGmKv5jY+5FOYZJHbTQIHgvxU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708320859; c=relaxed/simple; bh=vzUamUGP3WLvea5XsN957B186PZ1A28KCupKYCvHJbs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=afv56NxiaMKgQbCHj3gDHhwRvOYv6xTVelMTu0O2C5WCrPWQm8gRgZhEg75dqOVBZ635Rkkbr2U6XQaUwPZ6wWyTLa3i9Ut1KsE7lQOwgAhoYLpeH1a4ioxWYXU2XyMyX7a+XjfU/aSUR/WZTZarWiSxadiaEhavoPbCLm4f6qo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=systec-electronic.com; spf=pass smtp.mailfrom=systec-electronic.com; dkim=pass (2048-bit key) header.d=systec-electronic.com header.i=@systec-electronic.com header.b=EiUm+fx9; arc=none smtp.client-ip=77.220.239.22 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=systec-electronic.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=systec-electronic.com Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.systec-electronic.com (Postfix) with ESMTP id 07E3E9400107; Mon, 19 Feb 2024 06:34:16 +0100 (CET) Received: from mail.systec-electronic.com ([127.0.0.1]) by localhost (mail.systec-electronic.com [127.0.0.1]) (amavis, port 10032) with ESMTP id OVd1T5Nxl-jJ; Mon, 19 Feb 2024 06:34:15 +0100 (CET) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.systec-electronic.com (Postfix) with ESMTP id D617C9400109; Mon, 19 Feb 2024 06:34:15 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.systec-electronic.com D617C9400109 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systec-electronic.com; s=B34D3B04-5DC7-11EE-83E3-4D8CAB78E8CD; t=1708320855; bh=x6qX/th2i89rUvITb5zg/0LyG7dJqopWpijkvJGJMwQ=; h=From:To:Date:Message-ID:MIME-Version; b=EiUm+fx9kH4+H4QDSEyyTZYQUbMmt6v6fWdyk1nqgJM32035hsLzk6uHXZoZy2GLr A6U18x5MPf61wrU8Cb7Mkt7HW6G8T9tJI8vnalB5P/rIef7mP+27M5UUV98m1bmtEL lz4+reNxpz1Ya+uObIqh2RrZoFEK747hlNkAaamTr+iOTaLeVSFCZQCKQEsxswRw44 AAEmub/UzGZm5bdxPvPgEMC4UzkNP1ynJQorpqpf4a04BAPbpm6NZlkXL6EyhlV1is ApcKsmKqcYLvUJCxRrghR8B2vl9F6tmyMxPcU3vR+1i+TQq/noq8gKbeNghxVEZ14A nP0XYtXMLjEIw== X-Virus-Scanned: amavis at systec-electronic.com Received: from mail.systec-electronic.com ([127.0.0.1]) by localhost (mail.systec-electronic.com [127.0.0.1]) (amavis, port 10026) with ESMTP id oUO-ghJQtDvh; Mon, 19 Feb 2024 06:34:15 +0100 (CET) Received: from ws-565760.systec.local (unknown [212.185.67.148]) by mail.systec-electronic.com (Postfix) with ESMTPSA id 7DD119400107; Mon, 19 Feb 2024 06:34:15 +0100 (CET) From: Andre Werner To: steve.glendinning@shawell.net, UNGLinuxDriver@microchip.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, daniel.krueger@systec-electronic.com, Andre Werner Subject: [PATCH net-next v2] net: smsc95xx: add support for SYS TEC USB-SPEmodule1 Date: Mon, 19 Feb 2024 06:33:32 +0100 Message-ID: <20240219053413.4732-1-andre.werner@systec-electronic.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791303776254680339 X-GMAIL-MSGID: 1791304274328994989 This patch adds support for the SYS TEC USB-SPEmodule1 10Base-T1L ethernet device to the existing smsc95xx driver by adding the new USB VID/PID pair. Signed-off-by: Andre Werner --- v2: - Sort new USB_DEVICE entry by VID and swap with previous entry. --- drivers/net/usb/smsc95xx.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c index a530f20ee257..2fa46baa589e 100644 --- a/drivers/net/usb/smsc95xx.c +++ b/drivers/net/usb/smsc95xx.c @@ -2104,6 +2104,11 @@ static const struct usb_device_id products[] = { USB_DEVICE(0x0424, 0x9E08), .driver_info = (unsigned long) &smsc95xx_info, }, + { + /* SYSTEC USB-SPEmodule1 10BASE-T1L Ethernet Device */ + USB_DEVICE(0x0878, 0x1400), + .driver_info = (unsigned long)&smsc95xx_info, + }, { /* Microchip's EVB-LAN8670-USB 10BASE-T1S Ethernet Device */ USB_DEVICE(0x184F, 0x0051),