aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2020-11-13 18:52:09 +0200
committerJakub Kicinski <kuba@kernel.org>2020-11-17 11:36:59 -0800
commitb606ad8fa28315436fdb87100f9832d1ba0731c4 (patch)
tree6a206817d61aea547e3279b46d82c009403187c4 /drivers/net/phy/phy.c
parentnet: linux/skbuff.h: combine SKB_EXTENSIONS + KCOV handling (diff)
downloadwireguard-linux-b606ad8fa28315436fdb87100f9832d1ba0731c4.tar.xz
wireguard-linux-b606ad8fa28315436fdb87100f9832d1ba0731c4.zip
net: phy: vitesse: implement generic .handle_interrupt() callback
In an attempt to actually support shared IRQs in phylib, we now move the responsibility of triggering the phylib state machine or just returning IRQ_NONE, based on the IRQ status register, to the PHY driver. Having 3 different IRQ handling callbacks (.handle_interrupt(), .did_interrupt() and .ack_interrupt() ) is confusing so let the PHY driver implement directly an IRQ handler like any other device driver. Make this driver follow the new convention. Cc: Kavya Sree Kotagiri <kavyasree.kotagiri@microchip.com> Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions