summaryrefslogtreecommitdiff
path: root/lib/test_blackhole_dev.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2020-03-17 00:32:33 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-18 06:58:22 +0300
commit9010f9deb000edce823cb79345f137742ccffa19 (patch)
tree52169d22cd01474d5d4e3a4398c981f37847c98f /lib/test_blackhole_dev.c
parent225fc22388e5154b37c9d67732f5b01a6db5bc22 (diff)
downloadlinux-9010f9deb000edce823cb79345f137742ccffa19.tar.xz
net: phy: improve phy_driver callback handle_interrupt
did_interrupt() clears the interrupt, therefore handle_interrupt() can not check which event triggered the interrupt. To overcome this constraint and allow more flexibility for customer interrupt handlers, let's decouple handle_interrupt() from parts of the phylib interrupt handling. Custom interrupt handlers now have to implement the did_interrupt() functionality in handle_interrupt() if needed. Fortunately we have just one custom interrupt handler so far (in the mscc PHY driver), convert it to the changed API. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_blackhole_dev.c')
0 files changed, 0 insertions, 0 deletions