diff options
author | 2020-11-13 18:52:13 +0200 | |
---|---|---|
committer | 2020-11-17 11:36:59 -0800 | |
commit | a0723b375f9387f82e65382239144dc89c5175e1 (patch) | |
tree | c9649b3ca3b8bdbab68d7918963697b2fb96a87c /drivers/net/phy/phy.c | |
parent | net: phy: microchip: remove the use of .ack_interrupt() (diff) | |
download | wireguard-linux-a0723b375f9387f82e65382239144dc89c5175e1.tar.xz wireguard-linux-a0723b375f9387f82e65382239144dc89c5175e1.zip |
net: phy: marvell: 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: Maxim Kochetkov <fido_max@inbox.ru>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Robert Hancock <robert.hancock@calian.com>
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