diff options
| author | Florian Fainelli <[email protected]> | 2017-12-13 00:00:28 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-12-13 20:55:01 +0000 |
| commit | 1ac63e392e57ffbcd2b567f2c69474f3e9cb889d (patch) | |
| tree | 8a595ffaeaa95336e249b8b1d19acef770001028 /drivers/net/hyperv/hyperv_net.h | |
| parent | net: phy: phylink: Remove error message (diff) | |
| download | kernel-1ac63e392e57ffbcd2b567f2c69474f3e9cb889d.tar.gz kernel-1ac63e392e57ffbcd2b567f2c69474f3e9cb889d.zip | |
net: phy: phylink: Allow setting a custom link state callback
phylink_get_fixed_state() currently consults an optional "link_gpio"
GPIO descriptor, expand this mechanism to allow specifying a custom
callback. This is necessary to support out of band link notifcation
(e.g: from an interrupt within a MMIO register).
Signed-off-by: Florian Fainelli <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
0 files changed, 0 insertions, 0 deletions
