Will the io.h change be submitted to Linus soon?

Thomas Schenk (tschenk@dejanews.com)
Wed, 27 Jan 1999 17:54:50 -0600


Will the change to io.h needed to support 2Gigs of RAM be submitted to
Linus soon? We are eager to move to 2.2 (over 150 machines), but need
to have that fix in place. To refresh your memory, the fix I am talking
about is this one (quoting a message from Leonard Zubkoff):

>I'm fairly certain that it is the virtual to physical mapping macros that are
>producing incorrect results. Please try changing linux/include/asm-i386/io.h
>from:
>
>#define __io_virt(x) ((void *)(PAGE_OFFSET | (unsigned long)(x)))
>#define __io_phys(x) ((unsigned long)(x) & ~PAGE_OFFSET)
>
>to:
>
>#define __io_virt(x) ((void *)((unsigned long)(x) + PAGE_OFFSET))
>#define __io_phys(x) ((unsigned long)(x) - PAGE_OFFSET)
>
>and see if that helps.

Using this change is the only way for me to get 2.2.0 to work with 2Gigs of
RAM correctly.

Tom Schenk

--
+-----------------------+-------------------------+------------------------+
| Tom Schenk            | Use Linux!              | All opinions expressed |
| tschenk@dejanews.com  |    Friends don't let    | are mine and not those |
| tschenk@theoffice.net |     friends do Windows! | of my employer.        |
+-----------------------+-------------------------+------------------------+

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