diff options
author | Koen Kooi <koen@openembedded.org> | 2005-08-26 21:10:09 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-26 21:10:09 +0000 |
commit | b7c7a335e89702e1c98c63653fff399a098a1882 (patch) | |
tree | 48d4600f692cbbcaac535810e55d61fba5380cef /packages/pcmcia-cs/files | |
parent | 52e2d041671d0fc1268db16543727312465dc7a9 (diff) |
pcmcia-cs: patch arm/pcmcia to handle 2.6 modules
Patch courtesy Matt Reimer, closes #260
Diffstat (limited to 'packages/pcmcia-cs/files')
-rw-r--r-- | packages/pcmcia-cs/files/arm/pcmcia | 19 |
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 - |