From patchwork Thu Feb 6 22:40:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksander Jan Bajkowski X-Patchwork-Id: 13964080 Received: from mx4.wp.pl (mx4.wp.pl [212.77.101.12]) (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 4D9172417C0 for ; Thu, 6 Feb 2025 23:07:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.77.101.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738883243; cv=none; b=lCuazQFLBKKpPvzaLmgqhIXhuWYVckfm8lvgzUY6MxS0UIMN+zADo1SQfLQsbxKthfS2P/iIVu6zpmxmHn8K83I5PahimNmXxKOf8O+2CK2Ir3RU/2onOO9QjSJzMUTepMXkRf36mLkLm8SKG/krbg4cw/GEvE5bPHyRh4W3BoU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738883243; c=relaxed/simple; bh=cKvEJg/NR6Vzc5ifX66Y8af1qoE9/1oLpW0tirx20vc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=s6z9VkqIhPBYVH/4sQnGil4EDBciKJ8xpu/JHu5TtTX5VvRVcgSGM6F3pVZnPPjiVXlk4GDuTxgyVpaEFvg4nqZXmOLpiuf8yjc4dyFu1EkiEYCkqYafyVJ4pc9kqIGkXbXpnoOlMO5yQrdxe7NN48oIYbcWYDD4ZgM837EdqtU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=wp.pl; spf=pass smtp.mailfrom=wp.pl; dkim=pass (2048-bit key) header.d=wp.pl header.i=@wp.pl header.b=Xr4cWiRh; arc=none smtp.client-ip=212.77.101.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=wp.pl Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wp.pl Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wp.pl header.i=@wp.pl header.b="Xr4cWiRh" Received: (wp-smtpd smtp.wp.pl 15612 invoked from network); 6 Feb 2025 23:40:36 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=20241105; t=1738881636; bh=/dxcutMpXbREWxlgUU/VpF3517cOAAEJq3LxSyYzdIE=; h=From:To:Cc:Subject; b=Xr4cWiRheAZg5JdrJGjhXYoC+eMr7Utq1SMheuCvEHW0H8j8Ihp504rcwdztWSi8Q LQiswyd3EZPIXgwSJ1Vx6v5g4KrxypWwQzDrwjbEMr+EIHreXWo7VZd9iAyoe1wrlq ELPyfftNWaa8CTlLovl4nv1NkalFYjLCDMlsyCbrmpjQXUMjzQEe1yqMpxZgR8q73X U04BamSqVbNH8y6zWSLrHqUu2c9wQ2PkqY+ke6KuI2R/tHxncDAcS/PR+xbNm9axxu 9xikN1ufsHm31Qw/WOT5rPaGdUgV7ZLNX4r0Cc6VDoB0+/NOVrgVBrYr8XQV8YxS7c KXY0F2krJbf0w== Received: from 83.24.144.222.ipv4.supernova.orange.pl (HELO laptop-olek.lan) (olek2@wp.pl@[83.24.144.222]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 6 Feb 2025 23:40:36 +0100 From: Aleksander Jan Bajkowski To: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, gregkh@linuxfoundation.org, hayeswang@realtek.com, horms@kernel.org, dianders@chromium.org, gmazyland@gmail.com, ste3ls@gmail.com, linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Aleksander Jan Bajkowski Subject: [PATCH net-next] r8152: add vendor/device ID pair for Dell Alienware AW1022z Date: Thu, 6 Feb 2025 23:40:33 +0100 Message-Id: <20250206224033.980115-1-olek2@wp.pl> X-Mailer: git-send-email 2.39.5 Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-WP-DKIM-Status: good (id: wp.pl) X-WP-MailID: cc4d85941aa823555ff2ff16ba445377 X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 000000B [cdME] The Dell AW1022z is an RTL8156B based 2.5G Ethernet controller. Add the vendor and product ID values to the driver. This makes Ethernet work with the adapter. Signed-off-by: Aleksander Jan Bajkowski --- drivers/net/usb/r8152.c | 1 + include/linux/usb/r8152.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 468c73974046..e1021148d3a6 100644 --- a/drivers/net/usb/r8152.c +++ b/drivers/net/usb/r8152.c @@ -10079,6 +10079,7 @@ static const struct usb_device_id rtl8152_table[] = { { USB_DEVICE(VENDOR_ID_NVIDIA, 0x09ff) }, { USB_DEVICE(VENDOR_ID_TPLINK, 0x0601) }, { USB_DEVICE(VENDOR_ID_DLINK, 0xb301) }, + { USB_DEVICE(VENDOR_ID_DELL, 0xb097) }, { USB_DEVICE(VENDOR_ID_ASUS, 0x1976) }, {} }; diff --git a/include/linux/usb/r8152.h b/include/linux/usb/r8152.h index 33a4c146dc19..2ca60828f28b 100644 --- a/include/linux/usb/r8152.h +++ b/include/linux/usb/r8152.h @@ -30,6 +30,7 @@ #define VENDOR_ID_NVIDIA 0x0955 #define VENDOR_ID_TPLINK 0x2357 #define VENDOR_ID_DLINK 0x2001 +#define VENDOR_ID_DELL 0x413c #define VENDOR_ID_ASUS 0x0b05 #if IS_REACHABLE(CONFIG_USB_RTL8152)