diff options
author | Michael Sit Wei Hong <michael.wei.hong.sit@intel.com> | 2023-03-30 17:14:02 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-03-31 09:23:41 +0100 |
commit | 653a180957a85c3fc30320cc7e84f5dc913a64f8 (patch) | |
tree | ddcf40e0e337278122e8d1be5f24521dbeba3701 /tools/perf/scripts/python/syscall-counts.py | |
parent | 44d807320000db0d0013372ad39b53e12d52f758 (diff) |
net: phylink: add phylink_expects_phy() method
Provide phylink_expects_phy() to allow MAC drivers to check if it
is expecting a PHY to attach to. Since fixed-linked setups do not
need to attach to a PHY.
Provides a boolean value as to if the MAC should expect a PHY.
Returns true if a PHY is expected.
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions