mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 22:23:05 +00:00

This patch adds supports for multiple PHY hardware with phylink. The adapters with TN40xx chips use multiple PHY hardware; AMCC QT2025, TI TLK10232, Aqrate AQR105, and Marvell 88X3120, 88X3310, and MV88E2010. For now, the PCI ID table of this driver enables adapters using only QT2025 PHY. I've tested this driver and the QT2025 PHY driver (SFP+ 10G SR) with Edimax EN-9320 10G adapter. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com> Reviewed-by: Hans-Frieder Vogt <hfdevel@gmx.net> Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/20240623235507.108147-8-fujita.tomonori@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Tehuti network device configuration
|
|
#
|
|
|
|
config NET_VENDOR_TEHUTI
|
|
bool "Tehuti devices"
|
|
default y
|
|
depends on PCI
|
|
help
|
|
If you have a network (Ethernet) card belonging to this class, say Y.
|
|
|
|
Note that the answer to this question doesn't directly affect the
|
|
kernel: saying N will just cause the configurator to skip all
|
|
the questions about Tehuti cards. If you say Y, you will be asked for
|
|
your specific card in the following questions.
|
|
|
|
if NET_VENDOR_TEHUTI
|
|
|
|
config TEHUTI
|
|
tristate "Tehuti Networks 10G Ethernet"
|
|
depends on PCI
|
|
help
|
|
Tehuti Networks 10G Ethernet NIC
|
|
|
|
config TEHUTI_TN40
|
|
tristate "Tehuti Networks TN40xx 10G Ethernet adapters"
|
|
depends on PCI
|
|
select PAGE_POOL
|
|
select FW_LOADER
|
|
select PHYLINK
|
|
help
|
|
This driver supports 10G Ethernet adapters using Tehuti Networks
|
|
TN40xx chips. Currently, adapters with Applied Micro Circuits
|
|
Corporation QT2025 are supported; Tehuti Networks TN9310,
|
|
DLink DXE-810S, ASUS XG-C100F, and Edimax EN-9320.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called tn40xx.
|
|
|
|
endif # NET_VENDOR_TEHUTI
|