1 --- linux-2.6.9-rc2/include/asm-alpha/io.h.orig 2004-09-28 15:28:32.376274856 +0200
2 +++ linux-2.6.9-rc2/include/asm-alpha/io.h 2004-09-28 15:34:56.009953672 +0200
5 #include <linux/config.h>
6 #include <linux/kernel.h>
8 #include <asm/compiler.h>
9 #include <asm/system.h>
10 #include <asm/pgtable.h>
12 return (long)address <= 0 ? NULL : virt;
15 +#define isa_virt_to_bus virt_to_bus
16 +#define isa_bus_to_virt bus_to_virt
17 +static inline unsigned long isa_page_to_bus(struct page *page)
19 + unsigned long phys = page_to_phys(page);
20 + unsigned long bus = phys + __direct_map_base;
21 + return phys <= __direct_map_size ? bus : 0;
25 * There are different chipsets to interface the Alpha CPUs to the world.