kernel: in kernel 3.6.8 and later tg3 depends on hwmon.ko
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 13 Dec 2012 00:09:55 +0000 (00:09 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 13 Dec 2012 00:09:55 +0000 (00:09 +0000)
SVN-Revision: 34652

package/kernel/modules/netdevices.mk
target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm

index c539ea50016d20c73fcda6a83a0c4096a7f2f840..bab3d7094779eb31b0e3e8e868af00ad5fa49eec 100644 (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)
index 038a415a623dd40a1e12f659aad9311c1e028316..e7e7d54082980df875d1e635edd64203304bf149 100644 (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  || {