Re: [PATCH] serial.c procfs 2nd try - discussion

Jeff Garzik (jgarzik@mandrakesoft.com)
Tue, 12 Mar 2002 04:27:24 -0500


Russell King wrote:

>On Mon, Mar 11, 2002 at 05:41:09PM -0800, Ed Vance wrote:
>
>>2. Does anybody know of anything that will break because of the leading
>> zeros that are now present on the address field?
>>
>
>I'm not overly happy with this idea - there isn't anything that says an
>ioport address has 4 digits. I know of machines where an ioport address
>has 8, and I'm sure on the Alpha or Sparc64 its probably 16 digits.
>
Agreed. Standard portability convention seems to say that one treats io
ports and io mem both as unsigned long, including when printing...

Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/