]> git.hungrycats.org Git - linux/commit
net: eth: fbnic: Consolidate register reads for ids and devs
authorMike Marciniszyn (Meta) <mike.marciniszyn@gmail.com>
Thu, 30 Apr 2026 15:08:01 +0000 (11:08 -0400)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 5 May 2026 12:40:39 +0000 (14:40 +0200)
commitd7dbf00b4a5503def75487ed803698042ba1965d
treeeffc4528c5d404cafc38294bb49d5302bd4d3767
parentca283942e5b91894d3a9228eaf789837f66c986f
net: eth: fbnic: Consolidate register reads for ids and devs

Consolidate the register reads for boiler plate registers
to reduce LOC and cleanup pcs reads for DEVS1 to
fetch overrides for reserved bits that the hardware does not
return.

Signed-off-by: Mike Marciniszyn (Meta) <mike.marciniszyn@gmail.com>
Link: https://patch.msgid.link/20260430150802.3521-3-mike.marciniszyn@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/meta/fbnic/fbnic_mdio.c