Linux MIPS Architecture development
 help / color / mirror / Atom feed
* RE: pcmcia
@ 2001-11-30  8:39 Guillermo A. Loyola
  2001-11-30 17:35 ` pcmcia Pete Popov
  0 siblings, 1 reply; 6+ messages in thread
From: Guillermo A. Loyola @ 2001-11-30  8:39 UTC (permalink / raw)
  To: 'Pete Popov', linux-mips, sforge

> 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?

We need the same here, how about doing this instead:

#ifdef __i386__
typedef u_short   ioaddr_t;
#else
typedef u_int	ioaddr_t;
#endif

Gmo.

^ permalink raw reply	[flat|nested] 6+ messages in thread
* pcmcia
@ 2001-11-29 20:32 Pete Popov
  0 siblings, 0 replies; 6+ messages in thread
From: Pete Popov @ 2001-11-29 20:32 UTC (permalink / raw)
  To: linux-mips, sforge

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;

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-11-30 18:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-30  8:39 pcmcia Guillermo A. Loyola
2001-11-30 17:35 ` pcmcia Pete Popov
2001-11-30 17:54   ` pcmcia Alan Cox
2001-11-30 17:50     ` pcmcia Pete Popov
2001-11-30 17:54     ` pcmcia Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2001-11-29 20:32 pcmcia Pete Popov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox