summaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorArun Ramadoss <arun.ramadoss@microchip.com>2022-09-02 16:02:10 +0530
committerDavid S. Miller <davem@davemloft.net>2022-09-05 13:06:40 +0100
commitc9cd961c0d43a22eb704aa92e1f8fb33e3d286e8 (patch)
tree52b2db4dea639df4013c3005ba63fe1b2fab344a /scripts/gcc-plugins/sancov_plugin.c
parentf313936261ac18a2527fc0752cf988950587d0ce (diff)
downloadlinux-c9cd961c0d43a22eb704aa92e1f8fb33e3d286e8.tar.bz2
net: dsa: microchip: lan937x: add interrupt support for port phy link
This patch enables the interrupts for internal phy link detection for LAN937x. The interrupt enable bits are active low. There is global interrupt mask for each port. And each port has the individual interrupt mask for TAS. QCI, SGMII, PTP, PHY and ACL. The first level of interrupt domain is registered for global port interrupt and second level of interrupt domain for the individual port interrupts. The phy interrupt is enabled in the lan937x_mdio_register function. Interrupt from which port is raised will be detected based on the interrupt host data. Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions