use unsigned long for IO port address

Dominik Brodowski linux at dominikbrodowski.de
Tue Jan 18 02:38:42 EST 2005


> +/* This (ioaddr_t) is exposed to userspace & hence cannot be changed. */
>  typedef u_int   ioaddr_t;
>  #else
>  typedef u_short	ioaddr_t;
>  #endif
> +typedef unsigned long kio_addr_t;
>  
>  typedef u_short	socket_t;
>  typedef u_int	event_t;

I'm not convinced (yet?) that we want a typedef for that... any reason we
don't use "unsigned long" directly in all these places?

	Dominik



More information about the linux-pcmcia mailing list