diff options
author | 2020-11-13 18:52:11 +0200 | |
---|---|---|
committer | 2020-11-17 11:36:59 -0800 | |
commit | e01a3feb8f69ab620b0016498603cad364f65224 (patch) | |
tree | 3f18654d5942ca2e65fcb450223133b22355ccd3 /drivers/net/phy/phy.c | |
parent | net: phy: vitesse: remove the use of .ack_interrupt() (diff) | |
download | wireguard-linux-e01a3feb8f69ab620b0016498603cad364f65224.tar.xz wireguard-linux-e01a3feb8f69ab620b0016498603cad364f65224.zip |
net: phy: microchip: 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: Nisar Sayed <Nisar.Sayed@microchip.com>
Cc: Yuiko Oshino <yuiko.oshino@microchip.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