mirror_ubuntu-kernels/drivers/net/dsa/microchip
Marek Vasut ff509dab43 net: dsa: microchip: Factor out register access opcode generation
Factor out the code which sends out the register read/write opcodes
to the switch, since the code differs in single bit between read and
write.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Tristram Ha <Tristram.Ha@microchip.com>
Cc: Woojung Huh <Woojung.Huh@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-27 11:00:31 -07:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ksz9477_reg.h net: dsa: microchip: rename ksz_9477_reg.h to ksz9477_reg.h 2018-11-20 20:57:12 -08:00
ksz9477_spi.c net: dsa: microchip: Factor out register access opcode generation 2019-06-27 11:00:31 -07:00
ksz9477.c net: dsa: microchip: Use PORT_CTRL_ADDR() instead of indirect function call 2019-06-27 11:00:31 -07:00
ksz_common.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-06-17 20:20:36 -07:00
ksz_common.h net: dsa: microchip: Move ksz_cfg and ksz_port_cfg to ksz9477.c 2019-06-27 11:00:31 -07:00
ksz_priv.h net: dsa: microchip: Remove ksz_{get,set}() 2019-06-27 11:00:31 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00