The package kmod-net-prism54 misses the firmware file in /lib/firmware.
authorFlorian Fainelli <florian@openwrt.org>
Sat, 15 Nov 2008 17:39:50 +0000 (17:39 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 15 Nov 2008 17:39:50 +0000 (17:39 +0000)
Signed-Off-By: Joerg Albert <jal2 at gmx.de>
SVN-Revision: 13223

package/kernel/modules/wireless.mk

index f83bb723c6ae05bbbf7f15fa0511b3d5830bf256..4db22aee22e14a330619bb65ca54a4b8483e14f9 100644 (file)
@@ -196,5 +196,22 @@ define KernelPackage/net-prism54/description
  Kernel modules for Intersil Prism54 support
 endef
 
+# Prism54 FullMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
+#PRISM54_FW:=p54pcifm_1.0.4.3.arm
+PRISM54_FW:=1.0.4.3.arm
+
+define Download/net-prism54
+       FILE:=$(PRISM54_FW)
+#      URL:=http://jbnote.free.fr/prism54usb/data/firmwares/
+       URL:=http://daemonizer.de/prism54/prism54-fw/fw-fullmac/
+       MD5SUM:=8bd4310971772a486b9784c77f8a6df9
+endef
+
+define KernelPackage/net-prism54/install
+       $(INSTALL_DIR) $(1)/lib/firmware
+       $(INSTALL_DATA) $(DL_DIR)/$(PRISM54_FW) $(1)/lib/firmware/isl3890
+endef
+
+$(eval $(call Download,net-prism54))
 $(eval $(call KernelPackage,net-prism54))