aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-05-21 15:56:11 -0700
committerJakub Kicinski <kuba@kernel.org>2025-05-21 15:56:12 -0700
commit220a29d0af240c7ebf6ac1efae8b7a339f7e2026 (patch)
tree94fa227b2edd880ee6fd4e723d7a8b8da2ea4767 /scripts/generate_rust_analyzer.py
parentnet: libwx: Fix log level (diff)
parentdt-bindings: net: Document support for Aeonsemi PHYs (diff)
downloadwireguard-linux-220a29d0af240c7ebf6ac1efae8b7a339f7e2026.tar.xz
wireguard-linux-220a29d0af240c7ebf6ac1efae8b7a339f7e2026.zip
Merge branch 'net-phy-add-support-for-new-aeonsemi-phys'
Christian Marangi says: ==================== net: phy: Add support for new Aeonsemi PHYs Add support for new Aeonsemi 10G C45 PHYs. These PHYs intergate an IPC to setup some configuration and require special handling to sync with the parity bit. The parity bit is a way the IPC use to follow correct order of command sent. Supported PHYs AS21011JB1, AS21011PB1, AS21010JB1, AS21010PB1, AS21511JB1, AS21511PB1, AS21510JB1, AS21510PB1, AS21210JB1, AS21210PB1 that all register with the PHY ID 0x7500 0x7500 before the firmware is loaded. The big special thing about this PHY is that it does provide a generic PHY ID in C45 register that change to the correct one one the firmware is loaded. In practice: - MMD 0x7 ID 0x7500 0x9410 -> FW LOAD -> ID 0x7500 0x9422 To handle this, we operate on .match_phy_device where we check the PHY ID, if the ID match the generic one, we load the firmware and we return 0 (PHY driver doesn't match). Then PHY core will try the next PHY driver in the list and this time the PHY is correctly filled in and we register for it. To help in the matching and not modify part of the PHY device struct, .match_phy_device is extended to provide also the current phy_driver is trying to match for. This add the extra benefits that some other PHY can simplify their .match_phy_device OP. ==================== Link: https://patch.msgid.link/20250517201353.5137-1-ansuelsmth@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions