From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 DCC08280A2C; Wed, 23 Apr 2025 14:59:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745420377; cv=none; b=En8JWVOK1XDpg5qKtUYINOiENf+W9hGkviD78097lfduW1X9hgsslLwI1RwUj9C7DKuvs4DPBn3iDRxh/Zj/hl+fHGRwMB17qizum+m5PpxBmMp3gm+IOefhw4HnXoanzCyUjhodUGkGJoENZ/EQCVqVoJ7falTHxKZ6NwG/62k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745420377; c=relaxed/simple; bh=jzpPhgLsxK8/NlhMvGeJdnJmcGXOFEdS+wW4ZDRQfCo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=BSLEHW8jM1zMuNng1ajrUQ9AvYuLKaFo4biWxMa4KK9JwEn4CzqBPnv71YQEUcXxoEMeOAfgBan7EWY/Vc8rCjqsAMPDxL8GEz7IzLnppSTUaysPwMZ7JEWpCdnR+5QqIAloKNg5+wiSOxu1DRELXgEJGsj0KQv0RgVYl8wnxa0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CYrnrv1f; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="CYrnrv1f" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F995C4CEE2; Wed, 23 Apr 2025 14:59:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1745420376; bh=jzpPhgLsxK8/NlhMvGeJdnJmcGXOFEdS+wW4ZDRQfCo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CYrnrv1fPdVFuv5WRCohyhSrCCYn6uPnln+fzlnd9vJ7JaZd9kp4VHoYt+HhWElW/ lK5jx4rctcXuq5Zv3dEpXgRW2gicmKwspuO3yQfmDA3fIi2J76JtIcojkUmIuqvYO/ 4NobuKhPJM0+EaSH6UUdMUo/Zh7MmaOtkM6UN1ps= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Max Schulze , David Hollis , Sven Kreiensen , Jakub Kicinski , Sasha Levin Subject: [PATCH 6.6 069/393] net: usb: asix_devices: add FiberGecko DeviceID Date: Wed, 23 Apr 2025 16:39:25 +0200 Message-ID: <20250423142646.155612494@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250423142643.246005366@linuxfoundation.org> References: <20250423142643.246005366@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Max Schulze [ Upstream commit 4079918ae720e842ed7dff65fedeb9980b374995 ] The FiberGecko is a small USB module that connects a 100 Mbit/s SFP Signed-off-by: Max Schulze Tested-by: Max Schulze Suggested-by: David Hollis Reported-by: Sven Kreiensen Link: https://patch.msgid.link/20250212150957.43900-2-max.schulze@online.de Signed-off-by: Jakub Kicinski Signed-off-by: Sasha Levin --- drivers/net/usb/asix_devices.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/drivers/net/usb/asix_devices.c b/drivers/net/usb/asix_devices.c index f7cff58fe0449..ec4dcf89cbedd 100644 --- a/drivers/net/usb/asix_devices.c +++ b/drivers/net/usb/asix_devices.c @@ -1421,6 +1421,19 @@ static const struct driver_info hg20f9_info = { .data = FLAG_EEPROM_MAC, }; +static const struct driver_info lyconsys_fibergecko100_info = { + .description = "LyconSys FiberGecko 100 USB 2.0 to SFP Adapter", + .bind = ax88178_bind, + .status = asix_status, + .link_reset = ax88178_link_reset, + .reset = ax88178_link_reset, + .flags = FLAG_ETHER | FLAG_FRAMING_AX | FLAG_LINK_INTR | + FLAG_MULTI_PACKET, + .rx_fixup = asix_rx_fixup_common, + .tx_fixup = asix_tx_fixup, + .data = 0x20061201, +}; + static const struct usb_device_id products [] = { { // Linksys USB200M @@ -1578,6 +1591,10 @@ static const struct usb_device_id products [] = { // Linux Automation GmbH USB 10Base-T1L USB_DEVICE(0x33f7, 0x0004), .driver_info = (unsigned long) &lxausb_t1l_info, +}, { + /* LyconSys FiberGecko 100 */ + USB_DEVICE(0x1d2a, 0x0801), + .driver_info = (unsigned long) &lyconsys_fibergecko100_info, }, { }, // END }; -- 2.39.5