57766 devices with no nvram need a service patch firmware for the boot code to support EEE. This patch adds the fw.
Signed-off-by: Ulrich Weber <u...@ocedo.com> --- package/firmware/linux-firmware/Makefile | 20 ++++++++++++++++++++ package/kernel/linux/modules/netdevices.mk | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/package/firmware/linux-firmware/Makefile b/package/firmware/linux-firmware/Makefile index 015aff7..e2ff164 100644 --- a/package/firmware/linux-firmware/Makefile +++ b/package/firmware/linux-firmware/Makefile @@ -61,3 +61,23 @@ define Package/r8188eu-firmware/install endef $(eval $(call BuildPackage,r8188eu-firmware)) + +define Package/tg357766-firmware + SECTION:=firmware + CATEGORY:=Firmware + URL:=http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git + TITLE:=Broadcom Tigon3 57766 firmware +endef + +define Build/Compile + +endef + +define Package/tg357766-firmware/install + $(INSTALL_DIR) $(1)/lib/firmware/tigon + $(CP) \ + $(PKG_BUILD_DIR)/tigon/tg357766.bin \ + $(1)/lib/firmware/tigon +endef + +$(eval $(call BuildPackage,tg357766-firmware)) diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 063efee..55eef16 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -548,7 +548,7 @@ $(eval $(call KernelPackage,pcnet32)) define KernelPackage/tg3 TITLE:=Broadcom Tigon3 Gigabit Ethernet KCONFIG:=CONFIG_TIGON3 - DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +!LINUX_3_3:kmod-hwmon-core +(!LINUX_3_3&&!LINUX_3_6):kmod-ptp + DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +!LINUX_3_3:kmod-hwmon-core +(!LINUX_3_3&&!LINUX_3_6):kmod-ptp +tg357766-firmware SUBMENU:=$(NETWORK_DEVICES_MENU) FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko AUTOLOAD:=$(call AutoLoad,19,tg3,1) -- 1.9.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel