summaryrefslogtreecommitdiff
path: root/pcmcia-cs/files
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-29 20:25:02 +0000
committerPhil Blundell <philb@gnu.org>2004-08-29 20:25:02 +0000
commit48e36ff085e393e75490db65d487c5e138a5735f (patch)
tree5bda0b4548dc0d0c4d5f963f4cffc0054ed68db8 /pcmcia-cs/files
parent411eedf25ff4bfcf1685607ca04662976ed0b739 (diff)
try to make XScale pattern match on mikelp's machine
BKrev: 41323b9eQ9QY7nszWxXYUZYO9cf9EQ
Diffstat (limited to 'pcmcia-cs/files')
-rw-r--r--pcmcia-cs/files/arm/pcmcia13
1 files changed, 13 insertions, 0 deletions
diff --git a/pcmcia-cs/files/arm/pcmcia b/pcmcia-cs/files/arm/pcmcia
index e69de29bb2..9bb1f49a16 100644
--- a/pcmcia-cs/files/arm/pcmcia
+++ b/pcmcia-cs/files/arm/pcmcia
@@ -0,0 +1,13 @@
+case `awk 'BEGIN { FS=":" } /Processor/ { gsub(/ /, "", $2) ; print $2 } ' </proc/cpuinfo` in
+ *XScale-PXA2*)
+ PCIC=pxa_cs
+ ;;
+ StrongARM-SA1100 | StrongARM-SA1110)
+ PCIC=sa1100_cs
+ ;;
+ *)
+ echo "Unable to determine PCIC value for this CPU"
+ exit 1
+ ;;
+esac
+