diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-01-31 16:12:41 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-01-31 16:12:41 +0000 |
commit | 60e9044c354cd02b106a2e3ecc5228c4317d4464 (patch) | |
tree | 98e14d08fa2dc607d70be8a1955550c87e198ec0 /package/kernel/modules | |
parent | b7784a73fe939df86523f6935034b98b19a5708b (diff) |
[package] add libphy module to tg3 driver package - fixes unresolved symbols (#4353)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14310 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules')
-rw-r--r-- | package/kernel/modules/netdevices.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk index f16ae8f251..60311b6d57 100644 --- a/package/kernel/modules/netdevices.mk +++ b/package/kernel/modules/netdevices.mk @@ -254,6 +254,10 @@ define KernelPackage/tg3 DEPENDS:=@LINUX_2_6 SUBMENU:=$(NETWORK_DEVICES_MENU) AUTOLOAD:=$(call AutoLoad,50,tg3) +ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.27)),1) + FILES+=$(LINUX_DIR)/drivers/net/phy/libphy.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,40,libphy tg3) +endif endef define KernelPackage/tg3/description |