diff options
author | Koen Kooi <koen@openembedded.org> | 2005-09-22 18:40:30 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-22 18:40:30 +0000 |
commit | 8eafb65a0941d5a695dedfd06416b4f197cbdb76 (patch) | |
tree | b14887936acc17d2bf26cd24fa54de2264f8b055 /packages/pcmcia-cs/files | |
parent | 39a883f9a0f74d9c33f7f9f72bf497264265c97d (diff) |
packages/pcmcia-cs/: apply patches from #287
Diffstat (limited to 'packages/pcmcia-cs/files')
-rw-r--r-- | packages/pcmcia-cs/files/arm/pcmcia | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/packages/pcmcia-cs/files/arm/pcmcia b/packages/pcmcia-cs/files/arm/pcmcia index d42bc84e77..05b381a5f9 100644 --- a/packages/pcmcia-cs/files/arm/pcmcia +++ b/packages/pcmcia-cs/files/arm/pcmcia @@ -1,12 +1,19 @@ +module_id() { + awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo +} + + case `awk 'BEGIN { FS=":" } /Processor/ { gsub(/ /, "", $2) ; print $2 } ' </proc/cpuinfo` in *XScale-PXA2*) case "`uname -r`" in 2.4*) PCIC=pxa_cs + DS=ds ;; 2.6*) PCIC=pxa2xx_core + DS=pcmcia ;; esac ;; @@ -19,12 +26,8 @@ case `awk 'BEGIN { FS=":" } /Processor/ { gsub(/ /, "", $2) ; print $2 } ' </pro ;; esac -if grep -q iPAQ /proc/cpuinfo; then - case `module_id` in - "HP iPAQ H2200") - ;; - *) - PCIC_EXTRA=h3600_generic_sleeve - ;; - esac -fi +case `module_id` in + "HP iPAQ H3"* | "HP iPAQ H5"*) + PCIC_EXTRA=h3600_generic_sleeve + ;; +esac |