linux-mips
[Top] [All Lists]

Re: pcmcia

To: ppopov@mvista.com (Pete Popov)
Subject: Re: pcmcia
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Fri, 30 Nov 2001 17:54:08 +0000 (GMT)
Cc: gmo@broadcom.com (Guillermo A. Loyola), linux-mips@oss.sgi.com (linux-mips), linux-mips-kernel@lists.sourceforge.net (sforge)
In-reply-to: <1007141701.22949.140.camel@zeus> from "Pete Popov" at Nov 30, 2001 09:35:01 AM
Sender: owner-linux-mips@oss.sgi.com
> > We need the same here, how about doing this instead:
> > 
> > #ifdef __i386__
> > typedef u_short   ioaddr_t;
> > #else
> > typedef u_int       ioaddr_t;
> > #endif
> 
> That probably makes more sense.  I wasn't sure if it's only x86 that
> needs? ioaddr_t to be a 16 bit type.  

Is there any platform where making it int actually -breaks-. At least for
2.5 it would seem a lot saner to just make it bigger and see

Alan


<Prev in Thread] Current Thread [Next in Thread>