]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: b53: Add ability to enable/disable port interrupts
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 5 Sep 2018 19:42:11 +0000 (12:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Sep 2018 14:48:33 +0000 (07:48 -0700)
commitfc339e743fea254a0e7bffb608871c6c70b8e238
tree09c316a2ed96cab97b41e6c201537abed60f061b
parent7e6112bac97ebd4c8d15eda03ad541cb27e66cd0
net: dsa: b53: Add ability to enable/disable port interrupts

Some switches expose individual interrupt line(s) for port specific
event(s), allow configuring these interrupts at an appropriate time
during port_enable/disable callbacks where all port specific resources
are known to be set-up and ready for use.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_common.c
drivers/net/dsa/b53/b53_priv.h