]> git.baikalelectronics.ru Git - kernel.git/commit
enetc: Add ENETC PF level external MDIO support
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Tue, 26 Feb 2019 13:42:22 +0000 (15:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Mar 2019 19:21:32 +0000 (11:21 -0800)
commitd21db514f64cca4adedbdd9e83c104b2ce747c42
tree33a6c01ad730616e835400c876520eae737a6d3e
parent9b79b8b1a706a9ff1848d2d081ffe049327033ed
enetc: Add ENETC PF level external MDIO support

Each ENETC PF has its own MDIO interface, the corresponding
MDIO registers are mapped in the ENETC's Port register block.
The current patch adds a driver for these PF level MDIO buses,
so that each PF can manage directly its own external link.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/Makefile
drivers/net/ethernet/freescale/enetc/enetc_mdio.c [new file with mode: 0644]
drivers/net/ethernet/freescale/enetc/enetc_pf.c
drivers/net/ethernet/freescale/enetc/enetc_pf.h