]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: tn40xx: add phylink support
authorFUJITA Tomonori <fujita.tomonori@gmail.com>
Sun, 23 Jun 2024 23:55:07 +0000 (08:55 +0900)
committerJakub Kicinski <kuba@kernel.org>
Wed, 26 Jun 2024 01:44:19 +0000 (18:44 -0700)
commit30824122422476bede5d8a25ed25bf7b720dc193
treeccf62186b91e16182a1c904f053250ad340ef06e
parent7fdbd2f2bb5dc33c50604ea66eb8ae16247cc518
net: tn40xx: add phylink support

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>
drivers/net/ethernet/tehuti/Kconfig
drivers/net/ethernet/tehuti/Makefile
drivers/net/ethernet/tehuti/tn40.c
drivers/net/ethernet/tehuti/tn40.h
drivers/net/ethernet/tehuti/tn40_phy.c [new file with mode: 0644]