]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: b53: Make SRAB driver manage port interrupts
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 5 Sep 2018 19:42:12 +0000 (12:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Sep 2018 14:48:33 +0000 (07:48 -0700)
commit03d8eafba134dc109213cf102c1e518e792b8ca7
treecabafc41f0510bfeba75bcb826c6e4a01e971744
parent57ee8f5abec5e2f3c468fef1a95ae329a99a74c4
net: dsa: b53: Make SRAB driver manage port interrupts

Update the SRAB driver to manage per-port interrupts. Since we cannot
sleep during b53_io_ops, schedule a workqueue whenever we get a port
specific interrupt. We will later make use of this to call back into
PHYLINK when there is e.g: a link state change.

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_srab.c