diff options
| author | Heiner Kallweit <[email protected]> | 2019-05-30 13:10:06 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-05-30 22:02:33 +0000 |
| commit | 49644e68f472c6480e015253fa4d7448c6cfa2aa (patch) | |
| tree | d47976e1630e2a72dee58c18c2c084dd5ca0bdfc /drivers/net/xen-netback/interface.c | |
| parent | net: phy: enable interrupts when PHY is attached already (diff) | |
| download | kernel-49644e68f472c6480e015253fa4d7448c6cfa2aa.tar.gz kernel-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 <[email protected]>
Suggested-by: Russell King - ARM Linux admin <[email protected]>
Acked-by: Russell King <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
