summaryrefslogtreecommitdiff
path: root/packages/prism3-support
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/prism3-support
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/prism3-support')
-rw-r--r--packages/prism3-support/.mtn2git_empty0
-rw-r--r--packages/prism3-support/files/.mtn2git_empty0
-rw-r--r--packages/prism3-support/files/hostap-fw-load12
-rw-r--r--packages/prism3-support/prism3-support_1.0.0.bb15
4 files changed, 27 insertions, 0 deletions
diff --git a/packages/prism3-support/.mtn2git_empty b/packages/prism3-support/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/prism3-support/.mtn2git_empty
diff --git a/packages/prism3-support/files/.mtn2git_empty b/packages/prism3-support/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/prism3-support/files/.mtn2git_empty
diff --git a/packages/prism3-support/files/hostap-fw-load b/packages/prism3-support/files/hostap-fw-load
index e69de29bb2..538a4a7836 100644
--- a/packages/prism3-support/files/hostap-fw-load
+++ b/packages/prism3-support/files/hostap-fw-load
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# Special case for prism3 cards needing firmware upload
+# Add more known manfids, if necessary
+
+if [ `cardctl info|grep "d601,0010\|d601,0101"` ]; then
+ iwpriv "$IFACE" reset 1
+ hostap_fw_load "$IFACE"
+fi
+
+# lets hope that run-parts obeys the order :D
+
diff --git a/packages/prism3-support/prism3-support_1.0.0.bb b/packages/prism3-support/prism3-support_1.0.0.bb
index e69de29bb2..762bd01e61 100644
--- a/packages/prism3-support/prism3-support_1.0.0.bb
+++ b/packages/prism3-support/prism3-support_1.0.0.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "meta-package for prism3 support through ifupdown and hostap_fw_load"
+SECTION = "base"
+LICENSE = "GPL"
+DEPENDS = "prism3-firmware hostap-utils"
+RDEPENDS = "prism3-firmware hostap-utils"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+PR = "r0"
+
+SRC_URI = "file://hostap-fw-load"
+
+do_install() {
+ install -d ${D}${sysconfdir}/network/if-pre-up.d/
+ install -m 0755 ${WORKDIR}/hostap-fw-load ${D}${sysconfdir}/network/if-pre-up.d/
+}
+