mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-16 15:29:48 +00:00
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@wp.pl>
This commit is contained in:
parent
31b1330223
commit
69a14e4230
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user