linux-mips
[Top] [All Lists]

RE: pcmcia

To: "Guillermo A. Loyola" <gmo@broadcom.com>
Subject: RE: pcmcia
From: Pete Popov <ppopov@mvista.com>
Date: 30 Nov 2001 09:35:01 -0800
Cc: linux-mips <linux-mips@oss.sgi.com>, sforge <linux-mips-kernel@lists.sourceforge.net>
In-reply-to: <E1EBEF4633DBD3118AD1009027E2FFA0025D0513@mail.sv.broadcom.com>
References: <E1EBEF4633DBD3118AD1009027E2FFA0025D0513@mail.sv.broadcom.com>
Sender: owner-linux-mips@oss.sgi.com
On Fri, 2001-11-30 at 00:39, Guillermo A. Loyola wrote:
> > 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

That probably makes more sense.  I wasn't sure if it's only x86 that
needs? ioaddr_t to be a 16 bit type.  

Pete


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