aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pcmcia-cs
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-08-26 21:10:09 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-26 21:10:09 +0000
commitb7c7a335e89702e1c98c63653fff399a098a1882 (patch)
tree48d4600f692cbbcaac535810e55d61fba5380cef /packages/pcmcia-cs
parent52e2d041671d0fc1268db16543727312465dc7a9 (diff)
downloadopenembedded-b7c7a335e89702e1c98c63653fff399a098a1882.tar.gz
pcmcia-cs: patch arm/pcmcia to handle 2.6 modules
Patch courtesy Matt Reimer, closes #260
Diffstat (limited to 'packages/pcmcia-cs')
-rw-r--r--packages/pcmcia-cs/files/arm/pcmcia19
1 files changed, 16 insertions, 3 deletions
diff --git a/packages/pcmcia-cs/files/arm/pcmcia b/packages/pcmcia-cs/files/arm/pcmcia
index 3dc330db21..d42bc84e77 100644
--- a/packages/pcmcia-cs/files/arm/pcmcia
+++ b/packages/pcmcia-cs/files/arm/pcmcia
@@ -1,6 +1,14 @@
case `awk 'BEGIN { FS=":" } /Processor/ { gsub(/ /, "", $2) ; print $2 } ' </proc/cpuinfo` in
*XScale-PXA2*)
- PCIC=pxa_cs
+
+ case "`uname -r`" in
+ 2.4*)
+ PCIC=pxa_cs
+ ;;
+ 2.6*)
+ PCIC=pxa2xx_core
+ ;;
+ esac
;;
*StrongARM-1100* | *StrongARM-1110*)
PCIC=sa1100_cs
@@ -12,6 +20,11 @@ case `awk 'BEGIN { FS=":" } /Processor/ { gsub(/ /, "", $2) ; print $2 } ' </pro
esac
if grep -q iPAQ /proc/cpuinfo; then
- PCIC_EXTRA=h3600_generic_sleeve
+ case `module_id` in
+ "HP iPAQ H2200")
+ ;;
+ *)
+ PCIC_EXTRA=h3600_generic_sleeve
+ ;;
+ esac
fi
-