linux/drivers/net/ethernet/broadcom
YueHaibing 8d820bc9d1 net: broadcom: Fix BCMGENET Kconfig
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>
2022-11-07 17:58:11 -08:00
..
bnx2x Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-10-03 17:44:18 -07:00
bnxt bnxt_en: fix potentially incorrect return value for ndo_rx_flow_steer 2022-11-04 19:29:03 -07:00
genet net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
b44.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
b44.h
bcm63xx_enet.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
bcm63xx_enet.h
bcm4908_enet.c net: broadcom: bcm4908_enet: update TX stats after actual transmission 2022-10-27 10:27:53 -07:00
bcm4908_enet.h
bcmsysport.c net: bcmsysport: Indicate MAC is in charge of PHY PM 2022-10-27 15:56:07 +02:00
bcmsysport.h net: systemport: Enable all RX descriptors for SYSTEMPORT Lite 2022-10-10 18:00:15 -07:00
bgmac-bcma-mdio.c net: ethernet: bgmac: Fix refcount leak in bcma_mdio_mii_register 2022-06-06 14:38:15 -07:00
bgmac-bcma.c net: bgmac: Fix an erroneous kfree() in bgmac_remove() 2022-06-14 19:16:36 -07:00
bgmac-platform.c Revert "net: ethernet: bgmac: Use devm_platform_ioremap_resource_byname" 2022-02-17 08:45:34 -08:00
bgmac.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
bgmac.h net: bgmac: remove a copy of the NAPI_POLL_WEIGHT define 2022-04-29 11:56:41 +01:00
bnx2_fw.h
bnx2.c bnx2: Fix spelling mistake "bufferred" -> "buffered" 2022-09-30 12:38:58 +01:00
bnx2.h
cnic_defs.h
cnic_if.h
cnic.c treewide: use get_random_u32() when possible 2022-10-11 17:42:58 -06:00
cnic.h
Kconfig net: broadcom: Fix BCMGENET Kconfig 2022-11-07 17:58:11 -08:00
Makefile net: ethernet: bgmac: Remove -Warray-bounds exception 2022-10-07 08:50:07 +01:00
sb1250-mac.c eth: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
tg3.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
tg3.h
unimac.h