SOURCES: kernel-desktop-small_fixes.patch - fixe few isa modules o...
sparky
sparky at pld-linux.org
Thu Jun 22 02:29:12 CEST 2006
Author: sparky Date: Thu Jun 22 00:29:12 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fixe few isa modules on ppc
---- Files affected:
SOURCES:
kernel-desktop-small_fixes.patch (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SOURCES/kernel-desktop-small_fixes.patch
diff -u SOURCES/kernel-desktop-small_fixes.patch:1.6 SOURCES/kernel-desktop-small_fixes.patch:1.7
--- SOURCES/kernel-desktop-small_fixes.patch:1.6 Tue Jun 20 01:28:33 2006
+++ SOURCES/kernel-desktop-small_fixes.patch Thu Jun 22 02:29:07 2006
@@ -64,3 +64,16 @@
/*
* Given a desired number of PAGE_CACHE_SIZE readahead pages, return a
+--- linux-2.6.17/include/asm-powerpc/io.h~ 2006-06-18 03:49:35.000000000 +0200
++++ linux-2.6.17/include/asm-powerpc/io.h 2006-06-22 02:10:00.000000000 +0200
+@@ -252,6 +252,10 @@
+ */
+ #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
+
++#define isa_virt_to_bus virt_to_phys
++#define isa_page_to_bus page_to_phys
++#define isa_bus_to_virt phys_to_virt
++
+ /* We do NOT want virtual merging, it would put too much pressure on
+ * our iommu allocator. Instead, we want drivers to be smart enough
+ * to coalesce sglists that happen to have been mapped in a contiguous
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/kernel-desktop-small_fixes.patch?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list