diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2020-11-01 15:51:10 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-06 03:32:39 +0300 |
commit | e954631cd22ec4ddc7318e1537a65549d29b67cb (patch) | |
tree | 5859e450a55559aee441ecbeba07db9301fefe75 /drivers/net/ethernet/apple | |
parent | a758087f476d5af400b07ae708586def16858c77 (diff) | |
download | linux-e954631cd22ec4ddc7318e1537a65549d29b67cb.tar.xz |
net: phy: davicom: implement generic .handle_interrupt() calback
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.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/apple')
0 files changed, 0 insertions, 0 deletions