Skip to content

Commit de94d0c

Browse files
kralogregkh
authored andcommitted
net: usb: asix_devices: add FiberGecko DeviceID
[ Upstream commit 4079918 ] The FiberGecko is a small USB module that connects a 100 Mbit/s SFP Signed-off-by: Max Schulze <max.schulze@online.de> Tested-by: Max Schulze <max.schulze@online.de> Suggested-by: David Hollis <dhollis@davehollis.com> Reported-by: Sven Kreiensen <s.kreiensen@lyconsys.com> Link: https://patch.msgid.link/20250212150957.43900-2-max.schulze@online.de Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 93a562e commit de94d0c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

drivers/net/usb/asix_devices.c

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1421,6 +1421,19 @@ static const struct driver_info hg20f9_info = {
14211421
.data = FLAG_EEPROM_MAC,
14221422
};
14231423

1424+
static const struct driver_info lyconsys_fibergecko100_info = {
1425+
.description = "LyconSys FiberGecko 100 USB 2.0 to SFP Adapter",
1426+
.bind = ax88178_bind,
1427+
.status = asix_status,
1428+
.link_reset = ax88178_link_reset,
1429+
.reset = ax88178_link_reset,
1430+
.flags = FLAG_ETHER | FLAG_FRAMING_AX | FLAG_LINK_INTR |
1431+
FLAG_MULTI_PACKET,
1432+
.rx_fixup = asix_rx_fixup_common,
1433+
.tx_fixup = asix_tx_fixup,
1434+
.data = 0x20061201,
1435+
};
1436+
14241437
static const struct usb_device_id products [] = {
14251438
{
14261439
// Linksys USB200M
@@ -1578,6 +1591,10 @@ static const struct usb_device_id products [] = {
15781591
// Linux Automation GmbH USB 10Base-T1L
15791592
USB_DEVICE(0x33f7, 0x0004),
15801593
.driver_info = (unsigned long) &lxausb_t1l_info,
1594+
}, {
1595+
/* LyconSys FiberGecko 100 */
1596+
USB_DEVICE(0x1d2a, 0x0801),
1597+
.driver_info = (unsigned long) &lyconsys_fibergecko100_info,
15811598
},
15821599
{ }, // END
15831600
};

0 commit comments

Comments
 (0)