]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: lan969x: add match data for lan969x
authorDaniel Machon <daniel.machon@microchip.com>
Wed, 23 Oct 2024 22:01:25 +0000 (00:01 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 31 Oct 2024 01:08:05 +0000 (18:08 -0700)
commit7280f01e79ccc002de17a8c40711e855943d8b13
tree276104c30b8ab9ad0ac10097908a4f638a55ba64
parent199498490cac57b6cbd7ca7a3cecfa34dc996c47
net: lan969x: add match data for lan969x

Add match data for lan969x, with initial fields for iomap, iomap_size
and ioranges. Add new Kconfig symbol CONFIG_LAN969X_CONFIG for compiling
the lan969x driver.

It has been decided to give lan969x its own Kconfig symbol, as a
considerable amount of code is needed, beside the Sparx5 code, to add
full chip support (and more will be added in future series). Also this
makes it possible to compile Sparx5 without lan969x.

Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://patch.msgid.link/20241024-sparx5-lan969x-switch-driver-2-v2-6-a0b5fae88a0f@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
MAINTAINERS
drivers/net/ethernet/microchip/Kconfig
drivers/net/ethernet/microchip/Makefile
drivers/net/ethernet/microchip/lan969x/Kconfig [new file with mode: 0644]
drivers/net/ethernet/microchip/lan969x/Makefile [new file with mode: 0644]
drivers/net/ethernet/microchip/lan969x/lan969x.c [new file with mode: 0644]
drivers/net/ethernet/microchip/lan969x/lan969x.h [new file with mode: 0644]