linux-stable/include
Michael Sit Wei Hong 2a86b10a54 net: phylink: add phylink_expects_phy() method
[ Upstream commit 653a180957 ]

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>
Stable-dep-of: fe2cfbc968 ("net: stmmac: check if MAC needs to attach to a PHY")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-13 17:02:37 +02:00
..
acpi ACPI: x86: Introduce an acpi_quirk_skip_gpio_event_handlers() helper 2023-04-06 12:12:26 +02:00
asm-generic arch: fix broken BuildID for arm64 and riscv 2022-12-30 17:21:51 +09:00
clocksource
crypto
drm drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc 2023-03-22 13:37:49 +01:00
dt-bindings remoteproc updates for v6.2 2022-12-21 09:37:14 -08:00
keys
kunit kunit: fix kunit_test_init_section_suites(...) 2023-01-31 09:10:38 -07:00
kvm KVM: arm64: Add helper vgic_write_guest_lock() 2023-01-29 18:46:11 +00:00
linux net: phylink: add phylink_expects_phy() method 2023-04-13 17:02:37 +02:00
math-emu
media media: uvcvideo: Add GUID for BGRA/X 8:8:8:8 2023-03-11 13:50:41 +01:00
memory memory: renesas-rpc-if: Split-off private data from struct rpcif 2023-03-11 13:50:21 +01:00
misc
net netfilter: tproxy: fix deadlock due to missing BH disable 2023-03-17 08:57:56 +01:00
pcmcia
ras
rdma
rv
scsi scsi: core: Add BLIST_NO_VPD_SIZE for some VDASD 2023-03-22 13:37:44 +01:00
soc firmware: raspberrypi: Fix type assignment 2023-01-10 13:44:04 -08:00
sound ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared 2023-03-10 09:28:40 +01:00
target
trace rcu: Fix rcu_torture_read ftrace event 2023-04-06 12:12:45 +02:00
uapi usb: uvc: Enumerate valid values for color matching 2023-03-11 13:50:44 +01:00
ufs scsi: ufs: exynos: Fix DMA alignment for PAGE_SIZE != 4096 2023-03-10 09:28:31 +01:00
vdso
video
xen x86/PVH: obtain VGA console info in Dom0 2023-04-06 12:12:27 +02:00