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 AC20F1D07BA; Thu, 17 Apr 2025 18:43:45 +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=1744915425; cv=none; b=H7QHk/eF0Fx6TyRwWiIZdtMgb0kPncp95AdV9Nyxe+jf865OLVkEl3jLHg9cxv6MXx+O1Fk/MUFn3gwvOwYs0rnimcGfE7/rGhbPrB1jk3/Jay67dexRaziQLU1RKagUfIltXtt2dKO9ES0SUBNYSquskPBFJeUBN+QcB1VwzP4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744915425; c=relaxed/simple; bh=B7eAH5YezYf1uLxwe9+xNNk+YwK08UKCOzOLcd1SgAk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jbaNuZHxD3jETzHoBZ8sHnq5m99JzxfscWMLORInXoZtV37FU8M9UzRauSa1iNOEOqd+nox0LFyZsf9dCbqxVyVPv00Wre/UX9H0MNFfFJMSNWp3o6q5qsHYh5p59mhnwuCKcc5wx/BALpH3OsbV4OXofP0eVZgKIW/4OmGrE5A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XwTQV8Be; 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="XwTQV8Be" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24CE2C4CEE4; Thu, 17 Apr 2025 18:43:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744915425; bh=B7eAH5YezYf1uLxwe9+xNNk+YwK08UKCOzOLcd1SgAk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XwTQV8BeXuT1uTfwOhS8ap1ES4q7VZIHwKeYLOQ73cXd2GtBrCsrBFeO9sAyZtjUd wRfVOu/3uLTZzbIYZ+7y5g9wq6J5+yRcJlu6ffZf2vqP78o0qt5HGcdJic2TtBNoUx mew0fh8iulFXJCxgChyZmrEeQlQwb05Ac3l8tWV8= 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.12 094/393] net: usb: asix_devices: add FiberGecko DeviceID Date: Thu, 17 Apr 2025 19:48:23 +0200 Message-ID: <20250417175111.376709324@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250417175107.546547190@linuxfoundation.org> References: <20250417175107.546547190@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.12-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 57d6e5abc30e8..da24941a6e444 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