kernel: in kernel 3.6.8 and later tg3 depends on hwmon.ko

SVN-Revision: 34652
This commit is contained in:
Hauke Mehrtens 2012-12-13 00:09:55 +00:00
parent 1bd8db0bd6
commit 3a4a6cfd64
2 changed files with 2 additions and 1 deletions

View file

@ -473,7 +473,7 @@ $(eval $(call KernelPackage,pcnet32))
define KernelPackage/tg3
TITLE:=Broadcom Tigon3 Gigabit Ethernet
KCONFIG:=CONFIG_TIGON3
DEPENDS:=+!TARGET_brcm47xx:kmod-libphy
DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +!LINUX_3_3:kmod-hwmon-core
SUBMENU:=$(NETWORK_DEVICES_MENU)
FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
AUTOLOAD:=$(call AutoLoad,50,tg3)

View file

@ -26,6 +26,7 @@ check_module () {
}
init_iface() {
check_module hwmon
check_module tg3
insmod switch-core
check_module switch-robo || check_module switch-adm || {