summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorHeiner Kallweit2019-05-30 15:10:06 +0200
committerDavid S. Miller2019-05-31 00:02:33 +0200
commit49644e68f472c6480e015253fa4d7448c6cfa2aa (patch)
treed47976e1630e2a72dee58c18c2c084dd5ca0bdfc /drivers/net/ethernet/intel/ice/ice_main.c
parentnet: phy: enable interrupts when PHY is attached already (diff)
downloadkernel-qcow2-linux-49644e68f472c6480e015253fa4d7448c6cfa2aa.tar.gz
kernel-qcow2-linux-49644e68f472c6480e015253fa4d7448c6cfa2aa.tar.xz
kernel-qcow2-linux-49644e68f472c6480e015253fa4d7448c6cfa2aa.zip
net: phy: add callback for custom interrupt handler to struct phy_driver
The phylib interrupt handler handles link change events only currently. However PHY drivers may want to use other interrupt sources too, e.g. to report temperature monitoring events. Therefore add a callback to struct phy_driver allowing PHY drivers to implement a custom interrupt handler. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Suggested-by: Russell King - ARM Linux admin <linux@armlinux.org.uk> Acked-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions