summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc-binary-only/prism3-firmware_1.8.3.oe22
1 files changed, 22 insertions, 0 deletions
diff --git a/misc-binary-only/prism3-firmware_1.8.3.oe b/misc-binary-only/prism3-firmware_1.8.3.oe
index e69de29bb2..aa0c0c758f 100644
--- a/misc-binary-only/prism3-firmware_1.8.3.oe
+++ b/misc-binary-only/prism3-firmware_1.8.3.oe
@@ -0,0 +1,22 @@
+DESCRIPTION = "Firmware for the Prism3 cards"
+LICENSE = "Unknown"
+PR = "r1"
+
+SRC_URI = "http://www.red-bean.com/~proski/firmware/${PV}.tar.gz \
+ http://www.red-bean.com/~proski/firmware/primary.tar.gz"
+S = "${WORKDIR}"
+
+do_install() {
+ install -d ${D}/${sysconfdir}/pcmcia/
+ install -m 0644 primary/pm010102.hex ${D}/${sysconfdir}/pcmcia/
+ install -m 0644 1.8.3/rf010803.hex ${D}/${sysconfdir}/pcmcia/
+ cat >${D}/${sysconfdir}/pcmcia/README.prism3-firmware <<EOF
+To make a prism3 card w/ downloadable firmware work, do the following:
+ 0.) Install hostap-utils
+ 1.) Add "needs_reset yes" and "needs_firmware hostap_fw_load" to
+ the proper interface in /etc/network/interfaces
+ 2.) Add a shell skript w/ "ifdown <interface>" to /etc/apm/suspend.d
+ 3.) Add a shell skript w/ "ifup <interface>" to /etc/apm/resume.d
+EOF
+}
+