summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorCiprian Regus <ciprian.regus@analog.com>2026-07-08 01:33:32 +0300
committerPaolo Abeni <pabeni@redhat.com>2026-07-21 10:53:24 +0200
commit87ac7ea2153c0e52aa24568226a90929ee5249c3 (patch)
tree1ccbcc977b7696a5101f7d4d18aba8edd86e7cce /include/linux
parent1d030cdd52ee0042753327601156e7938f2455c1 (diff)
net: ethernet: oa_tc6: Export the C45 access functions
The C45 access functions can still be used by some Ethernet drivers which set the OA_TC6_BROKEN_PHY flag. Export them. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Ciprian Regus <ciprian.regus@analog.com> Link: https://patch.msgid.link/20260708-adin1140-driver-v5-4-4aca7b51a58b@analog.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/oa_tc6.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/oa_tc6.h b/include/linux/oa_tc6.h
index 62e3d89f80ed..2660eefa3504 100644
--- a/include/linux/oa_tc6.h
+++ b/include/linux/oa_tc6.h
@@ -31,3 +31,7 @@ int oa_tc6_read_registers(struct oa_tc6 *tc6, u32 address, u32 value[],
u8 length);
netdev_tx_t oa_tc6_start_xmit(struct oa_tc6 *tc6, struct sk_buff *skb);
int oa_tc6_zero_align_receive_frame_enable(struct oa_tc6 *tc6);
+int oa_tc6_mdiobus_read_c45(struct mii_bus *bus, int addr, int devnum,
+ int regnum);
+int oa_tc6_mdiobus_write_c45(struct mii_bus *bus, int addr, int devnum,
+ int regnum, u16 val);