Skip to contentSkip to conversation

pcmcia

PATCH Pete Popov 1 participant 1 message Nov 29, 2001

Subsystems (2)
lore
Share & tools
lore

Pete Popov

author
#0 lore raw

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)...

include/pcmcia/cs_types.h +1 -1
@@ -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;