summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-10-25 15:30:52 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-10-25 15:30:52 +0000
commited8ea77477943a812c163cd9b70b982dfc3227c5 (patch)
tree12a9e293596d33fc9d43adc051ca67bbbc91d5ab
parent50dbd1958d128b67f82b781b0c1987f2764d003a (diff)
downloadpoky-ed8ea77477943a812c163cd9b70b982dfc3227c5.tar.gz
orinoco-conf: call update-modules to populate information from /etc/modutils
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2979 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/orinoco/files/hermes.conf85
-rw-r--r--meta/packages/orinoco/files/spectrum.conf18
-rw-r--r--meta/packages/orinoco/orinoco-conf_1.0.bb14
3 files changed, 13 insertions, 104 deletions
diff --git a/meta/packages/orinoco/files/hermes.conf b/meta/packages/orinoco/files/hermes.conf
deleted file mode 100644
index 4937d356f2..0000000000
--- a/meta/packages/orinoco/files/hermes.conf
+++ /dev/null
@@ -1,85 +0,0 @@
1device "orinoco_cs"
2 class "network"
3 module "hermes", "orinoco", "orinoco_cs"
4
5device "spectrum_cs"
6 class "network" module "hermes", "orinoco", "spectrum_cs"
7
8
9# This manfid was used for cards with Lucent/Agere and Intersil firmware.
10# orinoco_cs supports both types, so we don't need to distinguish them.
11
12card "Orinoco or Intersil Prism 2 Wireless"
13 manfid 0x0156,0x0002
14 bind "orinoco_cs"
15
16
17# Cards with Lucent/Agere firmware (Hermes chipset)
18
19card "Lucent Technologies Wavelan/IEEE"
20 version "Lucent Technologies", "WaveLAN/IEEE"
21 bind "orinoco_cs"
22
23card "Avaya World Card"
24 version "Avaya Communication", "Avaya Wireless PC Card"
25 bind "orinoco_cs"
26
27card "Cabletron RoamAbout 802.11 DS"
28 version "Cabletron", "RoamAbout 802.11 DS"
29 bind "orinoco_cs"
30
31card "ELSA AirLancer MC-11"
32 version "ELSA", "AirLancer MC-11"
33 bind "orinoco_cs"
34
35card "MELCO WLI-PCM-L11"
36 version "MELCO", "WLI-PCM-L11"
37 bind "orinoco_cs"
38
39card "ARtem Onair"
40 version "ARtem", "Onair"
41 bind "orinoco_cs"
42
43
44# Cards with Symbol firmware in flash (Spectrum24 chipset)
45
46card "LA4111 Spectrum24 Wireless LAN PC Card"
47 version "Symbol Technologies"
48 bind "orinoco_cs"
49
50card "3Com AirConnect"
51 version "3Com", "3CRWE737A AirConnect Wireless LAN PC Card"
52 bind "orinoco_cs"
53
54card "Intel PRO/Wireless 2011"
55 manfid 0x0089,0x0001
56 bind "orinoco_cs"
57
58card "Ericsson WLAN Card C11"
59 manfid 0x016b,0x0001
60 bind "orinoco_cs"
61
62card "Nortel Networks e-mobility 802.11 Wireless LAN PC Card"
63 version "Nortel Networks", "emobility 802.11 Wireless LAN PC Card", "1.00"
64 bind "orinoco_cs"
65
66card "D-Link DWL-650H"
67 version "D-Link Corporation", "D-Link DWL-650H 11Mbps WLAN Adapter"
68 bind "orinoco_cs"
69
70
71# Cards with Symbol firmware without flash memory (Spectrum24 Trilogy).
72# These cards need a separate driver that loads the firmware.
73
74card "LA4100 Spectrum24 CF WLAN Card"
75 manfid 0x026c, 0x0001
76 bind "spectrum_cs"
77
78card "Socket Communications CF+ LP WLAN Card"
79 manfid 0x0104, 0x0001
80 bind "spectrum_cs"
81
82card "Intel PRO/Wireless 2011B"
83 manfid 0x0089, 0x0001
84 bind "spectrum_cs"
85
diff --git a/meta/packages/orinoco/files/spectrum.conf b/meta/packages/orinoco/files/spectrum.conf
deleted file mode 100644
index 849455537e..0000000000
--- a/meta/packages/orinoco/files/spectrum.conf
+++ /dev/null
@@ -1,18 +0,0 @@
1device "spectrum_cs"
2 class "network" module "hermes", "orinoco", "spectrum_cs"
3
4card "LA4100 Spectrum24 CF WLAN Card"
5 manfid 0x026c, 0x0001
6 bind "spectrum_cs"
7
8card "LA4137 Spectrum24 CF WLAN CARD"
9 manfid 0x014d, 0x0001
10 bind "spectrum_cs"
11
12card "Socket Communications CF+ LP WLAN Card"
13 manfid 0x0104, 0x0001
14 bind "spectrum_cs"
15
16card "Intel PRO/Wireless 2011B"
17 manfid 0x0089, 0x0001
18 bind "spectrum_cs"
diff --git a/meta/packages/orinoco/orinoco-conf_1.0.bb b/meta/packages/orinoco/orinoco-conf_1.0.bb
index 97b860f2cf..a734522979 100644
--- a/meta/packages/orinoco/orinoco-conf_1.0.bb
+++ b/meta/packages/orinoco/orinoco-conf_1.0.bb
@@ -2,8 +2,9 @@ DESCRIPTION = "PCMCIA-cs configuration files for Hermes (Orinoco) wireless LAN c
2SECTION = "kernel/modules" 2SECTION = "kernel/modules"
3PRIORITY = "optional" 3PRIORITY = "optional"
4LICENSE = "GPL" 4LICENSE = "GPL"
5RDEPENDS = "update-modules"
5PACKAGE_ARCH = "all" 6PACKAGE_ARCH = "all"
6PR = "r2" 7PR = "r3"
7 8
8SRC_URI = "file://spectrum.conf \ 9SRC_URI = "file://spectrum.conf \
9 file://hermes.conf \ 10 file://hermes.conf \
@@ -16,3 +17,14 @@ do_install() {
16 install -m 0644 ${WORKDIR}/hermes.conf ${D}${sysconfdir}/pcmcia/ 17 install -m 0644 ${WORKDIR}/hermes.conf ${D}${sysconfdir}/pcmcia/
17 install -m 0644 ${WORKDIR}/orinoco_cs.conf ${D}${sysconfdir}/modutils/ 18 install -m 0644 ${WORKDIR}/orinoco_cs.conf ${D}${sysconfdir}/modutils/
18} 19}
20
21pkg_postinst () {
22 if [ -n "$D" ]; then
23 exit 1
24 fi
25 update-modules || true
26}
27
28pkg_postrm () {
29 update-modules || true
30}