]> git.hungrycats.org Git - linux/commit
net: eth: fbnic: Add pma read and write access
authorMike Marciniszyn (Meta) <mike.marciniszyn@gmail.com>
Thu, 30 Apr 2026 15:08:02 +0000 (11:08 -0400)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 5 May 2026 12:40:39 +0000 (14:40 +0200)
commit3877097c3c9e0356ad5ed8411f417a100090be9c
tree9a28dcea35feb188da5610fdd4eb86771cb0eec6
parentd7dbf00b4a5503def75487ed803698042ba1965d
net: eth: fbnic: Add pma read and write access

Document the MDIO interface topology with an ASCII diagram
showing the MAC, PCS (MMD 3), FEC, Separated PMA (MMD 8), and PMD
(MMD 1) blocks and their interconnects. The diagram illustrates how
4 lanes connect the MAC through PCS, FEC, and PMA, then narrow to
2 lanes at the PMD.

The c45 read and write routines are enhanced to support
read and write of the separated PMA for the fbnic.

Co-developed-by: Alexander Duyck <alexanderduyck@fb.com>
Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Signed-off-by: Mike Marciniszyn (Meta) <mike.marciniszyn@gmail.com>
Link: https://patch.msgid.link/20260430150802.3521-4-mike.marciniszyn@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/meta/fbnic/fbnic_csr.h
drivers/net/ethernet/meta/fbnic/fbnic_mdio.c