summaryrefslogtreecommitdiffstats
path: root/meta/packages/pcmcia-cs/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/pcmcia-cs/files')
-rw-r--r--meta/packages/pcmcia-cs/files/arm/pcmcia40
-rw-r--r--meta/packages/pcmcia-cs/files/gcc4_fixes.patch26
-rw-r--r--meta/packages/pcmcia-cs/files/network.conf13
-rw-r--r--meta/packages/pcmcia-cs/files/pcmcia1
-rw-r--r--meta/packages/pcmcia-cs/files/wnv.conf14
5 files changed, 94 insertions, 0 deletions
diff --git a/meta/packages/pcmcia-cs/files/arm/pcmcia b/meta/packages/pcmcia-cs/files/arm/pcmcia
new file mode 100644
index 0000000000..d5346fb13a
--- /dev/null
+++ b/meta/packages/pcmcia-cs/files/arm/pcmcia
@@ -0,0 +1,40 @@
1module_id() {
2 awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo
3}
4
5
6case `awk 'BEGIN { FS=":" } /Processor/ { gsub(/ /, "", $2) ; print $2 } ' </proc/cpuinfo` in
7 *XScale-PXA2*)
8
9 case "`uname -r`" in
10 2.4*)
11 PCIC=pxa_cs
12 ;;
13 2.6*)
14 PCIC=pxa2xx_core
15 ;;
16 esac
17 ;;
18 *StrongARM-1100* | *StrongARM-1110*)
19 PCIC=sa1100_cs
20 ;;
21 *)
22 echo "Unable to determine PCIC value for this CPU"
23 exit 1
24 ;;
25esac
26
27case "`uname -r`" in
28 2.4*)
29 DS=ds
30 ;;
31 2.6*)
32 DS=pcmcia
33 ;;
34esac
35
36case `module_id` in
37 "HP iPAQ H3"* | "HP iPAQ H5"*)
38 PCIC_EXTRA=h3600_generic_sleeve
39 ;;
40esac
diff --git a/meta/packages/pcmcia-cs/files/gcc4_fixes.patch b/meta/packages/pcmcia-cs/files/gcc4_fixes.patch
new file mode 100644
index 0000000000..c68ba7a0f9
--- /dev/null
+++ b/meta/packages/pcmcia-cs/files/gcc4_fixes.patch
@@ -0,0 +1,26 @@
1Index: pcmcia-cs-3.2.8/debug-tools/lspnp.c
2===================================================================
3--- pcmcia-cs-3.2.8.orig/debug-tools/lspnp.c 2002-02-13 05:45:01.000000000 +0000
4+++ pcmcia-cs-3.2.8/debug-tools/lspnp.c 2005-11-11 23:43:33.000000000 +0000
5@@ -496,7 +496,7 @@
6 dump_io_fixed(r); break;
7 }
8 }
9- (u_char *)p += sz + 1;
10+ p = (union pnp_resource *) ((u_char *)p + sz + 1);
11 }
12 return (u_char *)p;
13 }
14Index: pcmcia-cs-3.2.8/debug-tools/setpnp.c
15===================================================================
16--- pcmcia-cs-3.2.8.orig/debug-tools/setpnp.c 2001-10-10 02:58:12.000000000 +0000
17+++ pcmcia-cs-3.2.8/debug-tools/setpnp.c 2005-11-11 23:44:32.000000000 +0000
18@@ -163,7 +163,7 @@
19 break;
20 }
21 }
22- (u_char *)p += sz + 1;
23+ p = (union pnp_resource *) ((u_char *)p + sz + 1);
24 }
25 return (u_char *)p;
26 }
diff --git a/meta/packages/pcmcia-cs/files/network.conf b/meta/packages/pcmcia-cs/files/network.conf
new file mode 100644
index 0000000000..51a38dd55b
--- /dev/null
+++ b/meta/packages/pcmcia-cs/files/network.conf
@@ -0,0 +1,13 @@
1card "TRENDnet TE-CF100"
2manfid 0x0149, 0xc1ab
3version "Fast Ethernet", "CF Size PC Card", "1.0"
4bind "pcnet_cs"
5
6card "Hawking 10/100 CF Fast Ethernet"
7 manfid 0x0149, 0xc1ab
8 bind "pcnet_cs"
9
10card "Billionton CFLA-100N 10/100 FastEthernet"
11 version "CF", "100Base-Ethernet", "V", "1.0"
12 manfid 0x021b, 0x0202
13 bind "pcnet_cs"
diff --git a/meta/packages/pcmcia-cs/files/pcmcia b/meta/packages/pcmcia-cs/files/pcmcia
new file mode 100644
index 0000000000..c42fea0691
--- /dev/null
+++ b/meta/packages/pcmcia-cs/files/pcmcia
@@ -0,0 +1 @@
# no defaults for /etc/sysconfig/pcmcia
diff --git a/meta/packages/pcmcia-cs/files/wnv.conf b/meta/packages/pcmcia-cs/files/wnv.conf
new file mode 100644
index 0000000000..f293b67178
--- /dev/null
+++ b/meta/packages/pcmcia-cs/files/wnv.conf
@@ -0,0 +1,14 @@
1device "wnv_cs"
2 module "wnv_cs"
3
4#
5# Winnov PCMCIA Camera
6#
7card "Winnov VideumMPC Camera"
8 version "Winnov", "VideumMPC", "Rev 1.0", ""
9 bind "wnv_cs"
10
11## handhelds.org bugzilla bug 188
12card "Winnov VideumCam Traveler"
13 manfid 0x01a5, 0x0000
14 bind "wnv_cs"