diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-25 15:30:52 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-25 15:30:52 +0000 |
commit | ed8ea77477943a812c163cd9b70b982dfc3227c5 (patch) | |
tree | 12a9e293596d33fc9d43adc051ca67bbbc91d5ab /meta/packages/orinoco | |
parent | 50dbd1958d128b67f82b781b0c1987f2764d003a (diff) | |
download | poky-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
Diffstat (limited to 'meta/packages/orinoco')
-rw-r--r-- | meta/packages/orinoco/files/hermes.conf | 85 | ||||
-rw-r--r-- | meta/packages/orinoco/files/spectrum.conf | 18 | ||||
-rw-r--r-- | meta/packages/orinoco/orinoco-conf_1.0.bb | 14 |
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 @@ | |||
1 | device "orinoco_cs" | ||
2 | class "network" | ||
3 | module "hermes", "orinoco", "orinoco_cs" | ||
4 | |||
5 | device "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 | |||
12 | card "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 | |||
19 | card "Lucent Technologies Wavelan/IEEE" | ||
20 | version "Lucent Technologies", "WaveLAN/IEEE" | ||
21 | bind "orinoco_cs" | ||
22 | |||
23 | card "Avaya World Card" | ||
24 | version "Avaya Communication", "Avaya Wireless PC Card" | ||
25 | bind "orinoco_cs" | ||
26 | |||
27 | card "Cabletron RoamAbout 802.11 DS" | ||
28 | version "Cabletron", "RoamAbout 802.11 DS" | ||
29 | bind "orinoco_cs" | ||
30 | |||
31 | card "ELSA AirLancer MC-11" | ||
32 | version "ELSA", "AirLancer MC-11" | ||
33 | bind "orinoco_cs" | ||
34 | |||
35 | card "MELCO WLI-PCM-L11" | ||
36 | version "MELCO", "WLI-PCM-L11" | ||
37 | bind "orinoco_cs" | ||
38 | |||
39 | card "ARtem Onair" | ||
40 | version "ARtem", "Onair" | ||
41 | bind "orinoco_cs" | ||
42 | |||
43 | |||
44 | # Cards with Symbol firmware in flash (Spectrum24 chipset) | ||
45 | |||
46 | card "LA4111 Spectrum24 Wireless LAN PC Card" | ||
47 | version "Symbol Technologies" | ||
48 | bind "orinoco_cs" | ||
49 | |||
50 | card "3Com AirConnect" | ||
51 | version "3Com", "3CRWE737A AirConnect Wireless LAN PC Card" | ||
52 | bind "orinoco_cs" | ||
53 | |||
54 | card "Intel PRO/Wireless 2011" | ||
55 | manfid 0x0089,0x0001 | ||
56 | bind "orinoco_cs" | ||
57 | |||
58 | card "Ericsson WLAN Card C11" | ||
59 | manfid 0x016b,0x0001 | ||
60 | bind "orinoco_cs" | ||
61 | |||
62 | card "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 | |||
66 | card "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 | |||
74 | card "LA4100 Spectrum24 CF WLAN Card" | ||
75 | manfid 0x026c, 0x0001 | ||
76 | bind "spectrum_cs" | ||
77 | |||
78 | card "Socket Communications CF+ LP WLAN Card" | ||
79 | manfid 0x0104, 0x0001 | ||
80 | bind "spectrum_cs" | ||
81 | |||
82 | card "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 @@ | |||
1 | device "spectrum_cs" | ||
2 | class "network" module "hermes", "orinoco", "spectrum_cs" | ||
3 | |||
4 | card "LA4100 Spectrum24 CF WLAN Card" | ||
5 | manfid 0x026c, 0x0001 | ||
6 | bind "spectrum_cs" | ||
7 | |||
8 | card "LA4137 Spectrum24 CF WLAN CARD" | ||
9 | manfid 0x014d, 0x0001 | ||
10 | bind "spectrum_cs" | ||
11 | |||
12 | card "Socket Communications CF+ LP WLAN Card" | ||
13 | manfid 0x0104, 0x0001 | ||
14 | bind "spectrum_cs" | ||
15 | |||
16 | card "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 | |||
2 | SECTION = "kernel/modules" | 2 | SECTION = "kernel/modules" |
3 | PRIORITY = "optional" | 3 | PRIORITY = "optional" |
4 | LICENSE = "GPL" | 4 | LICENSE = "GPL" |
5 | RDEPENDS = "update-modules" | ||
5 | PACKAGE_ARCH = "all" | 6 | PACKAGE_ARCH = "all" |
6 | PR = "r2" | 7 | PR = "r3" |
7 | 8 | ||
8 | SRC_URI = "file://spectrum.conf \ | 9 | SRC_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 | |||
21 | pkg_postinst () { | ||
22 | if [ -n "$D" ]; then | ||
23 | exit 1 | ||
24 | fi | ||
25 | update-modules || true | ||
26 | } | ||
27 | |||
28 | pkg_postrm () { | ||
29 | update-modules || true | ||
30 | } | ||