diff options
-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 - |