aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/microchip/Kconfig
diff options
context:
space:
mode:
authorArun Ramadoss <arun.ramadoss@microchip.com>2022-09-22 12:40:23 +0530
committerJakub Kicinski <kuba@kernel.org>2022-09-26 12:41:05 -0700
commit978f1f72460cb2dc742a35bae4de50b6b9ac653f (patch)
tree386df4e3ea72432b5fc467c2228e74be224e9001 /drivers/net/dsa/microchip/Kconfig
parentnet/sched: taprio: simplify list iteration in taprio_dev_notifier() (diff)
downloadlinux-dev-978f1f72460cb2dc742a35bae4de50b6b9ac653f.tar.xz
linux-dev-978f1f72460cb2dc742a35bae4de50b6b9ac653f.zip
net: dsa: microchip: determine number of port irq based on switch type
Currently the number of port irqs is hard coded for the lan937x switch as 6. In order to make the generic interrupt handler for ksz switches, number of port irq supported by the switch is added to the ksz_chip_data. It is 4 for ksz9477, 2 for ksz9897 and 3 for ksz9567. Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/microchip/Kconfig')
0 files changed, 0 insertions, 0 deletions