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