aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-01-31 16:12:41 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-01-31 16:12:41 +0000
commitc27492ab1ceca244fa371e2d24190bd95ed63bc3 (patch)
tree45374809dbcc93c31ba7ace21c88831261beb412 /package
parent0da13fa8bab3ff76cbba50ab6c8980e3fa2add22 (diff)
downloadupstream-c27492ab1ceca244fa371e2d24190bd95ed63bc3.tar.gz
upstream-c27492ab1ceca244fa371e2d24190bd95ed63bc3.tar.bz2
upstream-c27492ab1ceca244fa371e2d24190bd95ed63bc3.zip
add libphy module to tg3 driver package - fixes unresolved symbols (#4353)
SVN-Revision: 14310
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/netdevices.mk4
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