Skip to content

Commit b6f84cc

Browse files
kralojfvogel
authored andcommitted
net: usb: asix_devices: add FiberGecko DeviceID
[ Upstream commit 4079918ae720e842ed7dff65fedeb9980b374995 ] The FiberGecko is a small USB module that connects a 100 Mbit/s SFP Signed-off-by: Max Schulze <[email protected]> Tested-by: Max Schulze <[email protected]> Suggested-by: David Hollis <[email protected]> Reported-by: Sven Kreiensen <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: Sasha Levin <[email protected]> (cherry picked from commit de94d0ca9ea5884c3fe8288176facc205147a913) Signed-off-by: Jack Vogel <[email protected]>
1 parent a38a227 commit b6f84cc

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)