diff options
author | Ioana Ciornei <[email protected]> | 2020-11-23 17:38:09 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-11-25 11:18:37 -0800 |
commit | 59ca4e58b9176989b11b1311c903b3a05e6b87a1 (patch) | |
tree | 84e36204b7e3c4b5d45da5471296a56d123ee7c7 /net/lapb/lapb_timer.c | |
parent | 84c8f773d2dc17193aba2e707338f6e107fb71e5 (diff) |
net: phy: micrel: 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: Divya Koppera <[email protected]>
Cc: Oleksij Rempel <[email protected]>
Cc: Philippe Schenker <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Antoine Tenart <[email protected]>
Signed-off-by: Ioana Ciornei <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions