WSL2-Linux-Kernel/drivers/net/ethernet/broadcom
YueHaibing 6a264203db net: broadcom: Fix BCMGENET Kconfig
[ Upstream commit 8d820bc9d1 ]

While BCMGENET select BROADCOM_PHY as y, but PTP_1588_CLOCK_OPTIONAL is m,
kconfig warning and build errors:

WARNING: unmet direct dependencies detected for BROADCOM_PHY
  Depends on [m]: NETDEVICES [=y] && PHYLIB [=y] && PTP_1588_CLOCK_OPTIONAL [=m]
  Selected by [y]:
  - BCMGENET [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_BROADCOM [=y] && HAS_IOMEM [=y] && ARCH_BCM2835 [=y]

drivers/net/phy/broadcom.o: In function `bcm54xx_suspend':
broadcom.c:(.text+0x6ac): undefined reference to `bcm_ptp_stop'
drivers/net/phy/broadcom.o: In function `bcm54xx_phy_probe':
broadcom.c:(.text+0x784): undefined reference to `bcm_ptp_probe'
drivers/net/phy/broadcom.o: In function `bcm54xx_config_init':
broadcom.c:(.text+0xd4c): undefined reference to `bcm_ptp_config_init'

Fixes: 99addbe31f ("net: broadcom: Select BROADCOM_PHY for BCMGENET")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Florian Fainelli <f.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20221105090245.8508-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-11-16 09:58:19 +01:00
..
bnx2x bnx2x: fix potential memory leak in bnx2x_tpa_stop() 2022-10-26 12:34:49 +02:00
bnxt bnxt_en: fix potentially incorrect return value for ndo_rx_flow_steer 2022-11-16 09:58:17 +01:00
genet net: bcmgenet: Indicate MAC is in charge of PHY PM 2022-08-25 11:40:06 +02:00
Kconfig net: broadcom: Fix BCMGENET Kconfig 2022-11-16 09:58:19 +01:00
Makefile eth: tg3: silence the GCC 12 array-bounds warning 2022-06-09 10:22:40 +02:00
b44.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
b44.h
bcm63xx_enet.c bcm63xx_enet: delete a redundant assignment 2021-07-29 22:18:42 +01:00
bcm63xx_enet.h bcm63xx_enet: convert to build_skb 2021-01-07 12:39:53 -08:00
bcm4908_enet.c net: broadcom: bcm4908_enet: update TX stats after actual transmission 2022-11-03 23:59:19 +09:00
bcm4908_enet.h net: broadcom: rename BCM4908 driver & update DT binding 2021-02-11 15:04:17 -08:00
bcmsysport.c net: bcmsysport: Indicate MAC is in charge of PHY PM 2022-11-03 23:59:19 +09:00
bcmsysport.h net: systemport: Add global locking for descriptor lifecycle 2021-12-22 09:32:44 +01:00
bgmac-bcma-mdio.c
bgmac-bcma.c net: bgmac: Fix an erroneous kfree() in bgmac_remove() 2022-06-22 14:22:01 +02:00
bgmac-platform.c Revert "net: ethernet: bgmac: Use devm_platform_ioremap_resource_byname" 2022-02-23 12:03:10 +01:00
bgmac.c net: bgmac: Fix a BUG triggered by wrong bytes_compl 2022-08-25 11:40:06 +02:00
bgmac.h net: broadcom: share header defining UniMAC registers 2021-01-08 19:17:28 -08:00
bnx2.c bnx2: Fix an error message 2022-03-19 13:47:50 +01:00
bnx2.h
bnx2_fw.h
cnic.c cnic: convert tasklets to use new tasklet_setup() API 2020-09-14 13:02:37 -07:00
cnic.h
cnic_defs.h
cnic_if.h
sb1250-mac.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
tg3.c tg3: Disable tg3 device on system reboot to avoid triggering AER 2022-09-20 12:39:44 +02:00
tg3.h tg3: Read VPD with pci_vpd_alloc() 2021-08-20 15:49:00 -05:00
unimac.h net: broadcom: share header defining UniMAC registers 2021-01-08 19:17:28 -08:00