Subject: pcmcia

From: Pete Popov <[email-masked]>
Date: 29 Nov 2001 12:32:01 -0800

The pcmcia variable ioaddr_t should be a 32 bit type for my socket
driver.  Is there any harm to other mips pcmcia socket drivers if we
apply the patch below?  If not, it would make it so much easier if I
don't have to debug this problem with each new kernel (having forgotten
about the need for this patch)...

--- linux-orig/include/pcmcia/cs_types.h	Mon Nov  5 16:55:31 2001
+++ linux/include/pcmcia/cs_types.h	Thu Nov 29 12:27:42 2001
@@ -36,7 +36,7 @@
 #include <sys/types.h>
 #endif
 
-#ifdef __arm__
+#if defined(__arm__) || defined(__mips__)
 typedef u_int   ioaddr_t;
 #else
 typedef u_short	ioaddr_t;