[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-a3cf2f4a3e73master
parent
9b4b4d3914
commit
d44dde3cd8
|
@ -254,6 +254,10 @@ define KernelPackage/tg3
|
||||||
DEPENDS:=@LINUX_2_6
|
DEPENDS:=@LINUX_2_6
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
AUTOLOAD:=$(call AutoLoad,50,tg3)
|
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
|
endef
|
||||||
|
|
||||||
define KernelPackage/tg3/description
|
define KernelPackage/tg3/description
|
||||||
|
|
Loading…
Reference in New Issue