Re: [PATCH] isa_{read,write}{w,l} fixed

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Sat Feb 12 2000 - 09:43:35 EST


Philipp Rumpf wrote:
> > capable of representing the entire physical address of some boxes - it can
> > hit the full ISA address space sure.
>
> For PCI, what ioremap() returns is a pointer type (it is not necessarily a
> valid pointer, of course),

ioremap returns a token. It is _never ever_ a valid pointer.

> so all mapped I/O addresses are representable by
> a structure pointer (unless we had a really broken ABI where certain void *
> couldn't be cast to struct pointers).

gcc (C?) is nice enough to allow void assignment without casting so I
doubt this will ever happen. Has nothing to do w/ Linux's ABI though,
AFAICS.

> I'm not sure how the physical address space matters for this.

It's a finite resource....

        Jeff

-- 
Jeff Garzik         | "Vegetarian" is the Indian word
Building 1024       | for 'lousy hunter.'
MandrakeSoft, Inc.  |

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



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:22 EST