Michael Sit Wei Hong 653a180957 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>
2023-03-31 09:23:41 +01:00
..
2023-02-27 10:04:49 -08:00
2023-02-26 11:47:26 -08:00
2023-03-04 10:53:59 -08:00
2023-03-29 10:13:37 -07:00
2023-03-03 14:41:50 -08:00
2023-03-17 10:45:49 -07:00