mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 16:43:09 +02:00
kernel: in kernel 3.6.8 and later tg3 depends on hwmon.ko
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34652 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
811c287737
commit
517823cf21
@ -473,7 +473,7 @@ $(eval $(call KernelPackage,pcnet32))
|
|||||||
define KernelPackage/tg3
|
define KernelPackage/tg3
|
||||||
TITLE:=Broadcom Tigon3 Gigabit Ethernet
|
TITLE:=Broadcom Tigon3 Gigabit Ethernet
|
||||||
KCONFIG:=CONFIG_TIGON3
|
KCONFIG:=CONFIG_TIGON3
|
||||||
DEPENDS:=+!TARGET_brcm47xx:kmod-libphy
|
DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +!LINUX_3_3:kmod-hwmon-core
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
|
FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,50,tg3)
|
AUTOLOAD:=$(call AutoLoad,50,tg3)
|
||||||
|
@ -26,6 +26,7 @@ check_module () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
init_iface() {
|
init_iface() {
|
||||||
|
check_module hwmon
|
||||||
check_module tg3
|
check_module tg3
|
||||||
insmod switch-core
|
insmod switch-core
|
||||||
check_module switch-robo || check_module switch-adm || {
|
check_module switch-robo || check_module switch-adm || {
|
||||||
|
Loading…
Reference in New Issue
Block a user