pcmcia-cs: fix module loading on strongarm, courtesy Matthew Reimer
authorKoen Kooi <koen@openembedded.org>
Mon, 12 Dec 2005 15:43:30 +0000 (15:43 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 12 Dec 2005 15:43:30 +0000 (15:43 +0000)
packages/pcmcia-cs/files/arm/pcmcia

index 05b381a..d5346fb 100644 (file)
@@ -9,11 +9,9 @@ case `awk 'BEGIN { FS=":" } /Processor/ { gsub(/ /, "", $2) ; print $2 } ' </pro
     case "`uname -r`" in
         2.4*)
                PCIC=pxa_cs
-               DS=ds
                ;;
        2.6*)
                PCIC=pxa2xx_core
-               DS=pcmcia
                ;;
     esac
     ;;
@@ -26,6 +24,15 @@ case `awk 'BEGIN { FS=":" } /Processor/ { gsub(/ /, "", $2) ; print $2 } ' </pro
     ;;
 esac
 
+case "`uname -r`" in
+    2.4*)
+           DS=ds
+           ;;
+    2.6*)
+           DS=pcmcia
+           ;;
+esac
+
 case `module_id` in
   "HP iPAQ H3"* | "HP iPAQ H5"*)
     PCIC_EXTRA=h3600_generic_sleeve