aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/files/arch
diff options
context:
space:
mode:
authorRobert Marko <robert.marko@sartura.hr>2021-10-25 18:30:00 +0200
committerDavid Bauer <mail@david-bauer.net>2022-10-02 23:04:38 +0200
commit378d1a65698eb8060d0a28c438d718a917afcb56 (patch)
tree7e747d639052b1858c1f4e408d4f9404fece490f /target/linux/ipq40xx/files/arch
parent27b441cbaf426edffa6b90b06bb356528203b33a (diff)
downloadupstream-378d1a65698eb8060d0a28c438d718a917afcb56.tar.gz
upstream-378d1a65698eb8060d0a28c438d718a917afcb56.tar.bz2
upstream-378d1a65698eb8060d0a28c438d718a917afcb56.zip
ipq40xx: qca807x: add SFP improvements
Currently, QCA807x doesnt do any kind of validation to see whether it actually supports the inserted module. So lets add checks to allow only 1000BaseX and 100BaseFX based modules. While adding validation, move fiber configuration to insert/remove events instead of always doing it at config time. This allows getting rid of the DT property for fiber enable and now only the upstream sfp phandle is required. Since we are refactoring fiber related code, lets heavily simplify the status polling as the current logic is overcomplicated due to previous wish to support non standard SFP cages that dont have pins properly connected, that is removed now and only proper SFP cages will work. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Diffstat (limited to 'target/linux/ipq40xx/files/arch')
0 files changed, 0 insertions, 0 deletions