e7ba0fad9c
The Marvell SOHO switches have several ways to access the internal registers. One of them being the System Management Interface (SMI), using the MDC and MDIO pins, with direct and indirect variants. In preparation for adding support for other register accesses, move the SMI code into its own files. At the same time, refine the code to make it clear that the indirect variant is implemented using the direct variant accessing only two registers for command and data. Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
chip.c | ||
chip.h | ||
global1_atu.c | ||
global1_vtu.c | ||
global1.c | ||
global1.h | ||
global2_avb.c | ||
global2_scratch.c | ||
global2.c | ||
global2.h | ||
hwtstamp.c | ||
hwtstamp.h | ||
Kconfig | ||
Makefile | ||
phy.c | ||
phy.h | ||
port.c | ||
port.h | ||
ptp.c | ||
ptp.h | ||
serdes.c | ||
serdes.h | ||
smi.c | ||
smi.h |