Re: Big Fix for 2.2.1

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 26 Jan 1999 19:23:23 +0000 (GMT)


> (1) The identity phys_to_virt(virt_to_phys(x)) == x is violated.
>
> (2) The readb/writeb/readw/writew/readl/writel macros are completely incorrect
> since they are supposed to be applied to memory mapped I/O regions
> allocated with ioremap, but ioremap returns a kernel virtual address
> and hence no further mapping is appropriate.

This change breaks half the drivers in the kernel. Everything assumes they
take physical addresses.

-
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/