[openwrt/openwrt] kernel: modules: tg3: limit to devices with pci support
LEDE Commits
lede-commits at lists.infradead.org
Sat Apr 1 13:07:19 PDT 2023
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/69a14e4230ef459a9787b1fa1776fbac59012dbb
commit 69a14e4230ef459a9787b1fa1776fbac59012dbb
Author: Aleksander Jan Bajkowski <olek2 at wp.pl>
AuthorDate: Fri Dec 2 23:38:51 2022 +0100
kernel: modules: tg3: limit to devices with pci support
Kmod-tg3 supports Ethernet adapters over PCIe bus. On targets without
PCI support, this package is empty. Symbol CONFIG_TIGON3 depends on
CONFIG_PCI.
Signed-off-by: Aleksander Jan Bajkowski <olek2 at wp.pl>
---
package/kernel/linux/modules/netdevices.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 4973c0502e..208518c3bf 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -950,7 +950,7 @@ define KernelPackage/tg3
TITLE:=Broadcom Tigon3 Gigabit Ethernet
KCONFIG:=CONFIG_TIGON3 \
CONFIG_TIGON3_HWMON=n
- DEPENDS:=+!TARGET_bcm47xx:kmod-libphy +kmod-ptp
+ DEPENDS:=@PCI_SUPPORT +!TARGET_bcm47xx:kmod-libphy +kmod-ptp
SUBMENU:=$(NETWORK_DEVICES_MENU)
FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
AUTOLOAD:=$(call AutoLoad,19,tg3,1)
More information about the lede-commits
mailing list