Browse Source

updated linux24 - and fixed the i2c-patch (incl. i2c-west for PowerPC) and

fixing agp support for the apple north-bridge


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1190 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
c9e6935b76
6 changed files with 28 additions and 108 deletions
  1. +5
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +3
    -3
      package/base/linux24-header/linux24-header.desc
  3. +3
    -3
      package/base/linux24-src/linux24-src.desc
  4. +11
    -0
      package/base/linux24/arch-ppc-agp.patch
  5. +0
    -96
      package/base/linux24/gcc33-fixes.patch
  6. +6
    -6
      package/base/linux24/linux24.desc

+ 5
- 0
Documentation/Developers/CHANGELOG-RENE

@ -1,4 +1,9 @@
*) 2003-08-26 (2.0.0-rc1 - 2.0.0-rc2)
- updated linux24 - and fixed the i2c-patch (incl. i2c-west for PowerPC) and
fixing agp support for the apple north-bridge
*) 2003-08-25 (2.0.0-rc1 - 2.0.0-rc2)
- added a new font to the cheapskatefonts package

+ 3
- 3
package/base/linux24-header/linux24-header.desc

@ -38,11 +38,11 @@
[E] group kernel-header
[O] vanilla_ver="2.4.21"
[O] var_append patchfiles " " "i2c-2.8.0-2.4.21.patch acpi-20030619-2.4.21.diff.bz2"
[O] vanilla_ver="2.4.22"
[O] var_append patchfiles " " "i2c-2.8.0-2.4.22-pre9-rxr.patch.bz2"
[L] GPL
[S] Stable
[V] 2.4.21
[V] 2.4.22
[P] X 01-------9 102.000

+ 3
- 3
package/base/linux24-src/linux24-src.desc

@ -38,11 +38,11 @@
[E] group kernel-src
[O] vanilla_ver="2.4.21"
[O] var_append patchfiles " " "i2c-2.8.0-2.4.21.patch acpi-20030619-2.4.21.diff.bz2"
[O] vanilla_ver="2.4.22"
[O] var_append patchfiles " " "i2c-2.8.0-2.4.22-pre9-rxr.patch.bz2"
[L] GPL
[S] Stable
[V] 2.4.21
[V] 2.4.22
[P] X -1---5---9 105.000

+ 11
- 0
package/base/linux24/arch-ppc-agp.patch

@ -0,0 +1,11 @@
--- linux-2.4.21/drivers/char/agp/agpgart_be.c.orig 2003-06-13 16:51:32.000000000 +0200
+++ linux-2.4.21/drivers/char/agp/agpgart_be.c 2003-08-26 03:20:43.000000000 +0200
@@ -71,7 +71,7 @@
{
#if defined(__i386__) || defined(__x86_64__)
asm volatile ("wbinvd":::"memory");
-#elif defined(__alpha__) || defined(__ia64__) || defined(__sparc__)
+#elif defined(__alpha__) || defined(__ia64__) || defined(__sparc__) || defined(__powerpc__)
/* ??? I wonder if we'll really need to flush caches, or if the
core logic can manage to keep the system coherent. The ARM
speaks only of using `cflush' to get things in memory in

+ 0
- 96
package/base/linux24/gcc33-fixes.patch

@ -1,96 +0,0 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/base/linux24/gcc33-fixes.patch
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
--- ./arch/i386/math-emu/poly.h.orig 2003-05-14 12:49:58.000000000 -0400
+++ ./arch/i386/math-emu/poly.h 2003-05-14 12:54:30.000000000 -0400
@@ -75,10 +75,10 @@
/* Add the 12 byte Xsig x2 to Xsig dest, with no checks for overflow. */
static inline void add_Xsig_Xsig(Xsig *dest, const Xsig *x2)
{
- asm volatile ("movl %1,%%edi; movl %2,%%esi;
- movl (%%esi),%%eax; addl %%eax,(%%edi);
- movl 4(%%esi),%%eax; adcl %%eax,4(%%edi);
- movl 8(%%esi),%%eax; adcl %%eax,8(%%edi);"
+ asm volatile ("movl %1,%%edi; movl %2,%%esi;\n"
+ "movl (%%esi),%%eax; addl %%eax,(%%edi);\n"
+ "movl 4(%%esi),%%eax; adcl %%eax,4(%%edi);\n"
+ "movl 8(%%esi),%%eax; adcl %%eax,8(%%edi);\n"
:"=g" (*dest):"g" (dest), "g" (x2)
:"ax","si","di");
}
@@ -90,16 +90,16 @@
problem, but keep fingers crossed! */
static inline void add_two_Xsig(Xsig *dest, const Xsig *x2, long int *exp)
{
- asm volatile ("movl %2,%%ecx; movl %3,%%esi;
- movl (%%esi),%%eax; addl %%eax,(%%ecx);
- movl 4(%%esi),%%eax; adcl %%eax,4(%%ecx);
- movl 8(%%esi),%%eax; adcl %%eax,8(%%ecx);
- jnc 0f;
- rcrl 8(%%ecx); rcrl 4(%%ecx); rcrl (%%ecx)
- movl %4,%%ecx; incl (%%ecx)
- movl $1,%%eax; jmp 1f;
- 0: xorl %%eax,%%eax;
- 1:"
+ asm volatile ("movl %2,%%ecx; movl %3,%%esi;\n"
+ "movl (%%esi),%%eax; addl %%eax,(%%ecx);\n"
+ "movl 4(%%esi),%%eax; adcl %%eax,4(%%ecx);\n"
+ "movl 8(%%esi),%%eax; adcl %%eax,8(%%ecx);\n"
+ "jnc 0f;\n"
+ "rcrl 8(%%ecx); rcrl 4(%%ecx); rcrl (%%ecx)\n"
+ "movl %4,%%ecx; incl (%%ecx)\n"
+ "movl $1,%%eax; jmp 1f;\n"
+ "0: xorl %%eax,%%eax;\n"
+ "1:\n"
:"=g" (*exp), "=g" (*dest)
:"g" (dest), "g" (x2), "g" (exp)
:"cx","si","ax");
@@ -110,11 +110,11 @@
/* This is faster in a loop on my 386 than using the "neg" instruction. */
static inline void negate_Xsig(Xsig *x)
{
- asm volatile("movl %1,%%esi; "
- "xorl %%ecx,%%ecx; "
- "movl %%ecx,%%eax; subl (%%esi),%%eax; movl %%eax,(%%esi); "
- "movl %%ecx,%%eax; sbbl 4(%%esi),%%eax; movl %%eax,4(%%esi); "
- "movl %%ecx,%%eax; sbbl 8(%%esi),%%eax; movl %%eax,8(%%esi); "
+ asm volatile("movl %1,%%esi;\n"
+ "xorl %%ecx,%%ecx;\n"
+ "movl %%ecx,%%eax; subl (%%esi),%%eax; movl %%eax,(%%esi);\n"
+ "movl %%ecx,%%eax; sbbl 4(%%esi),%%eax; movl %%eax,4(%%esi);\n"
+ "movl %%ecx,%%eax; sbbl 8(%%esi),%%eax; movl %%eax,8(%%esi);\n"
:"=g" (*x):"g" (x):"si","ax","cx");
}
--- ./drivers/sound/cs46xx.c.orig 2003-06-13 14:37:20.000000000 -0400
+++ ./drivers/sound/cs46xx.c 2003-06-13 14:37:47.000000000 -0400
@@ -947,8 +947,8 @@
struct InitStruct
{
- u32 long off;
- u32 long val;
+ u32 off;
+ u32 val;
} InitArray[] = { {0x00000040, 0x3fc0000f},
{0x0000004c, 0x04800000},

+ 6
- 6
package/base/linux24/linux24.desc

@ -38,13 +38,13 @@
[L] GPL
[S] Stable
[V] 2.4.21
[V] 2.4.22
[P] X -1---5---9 109.000
[O] vanilla_ver="2.4.21"
[O] var_append patchfiles " " "i2c-2.8.0-2.4.21.patch acpi-20030619-2.4.21.diff.bz2"
[O] vanilla_ver="2.4.22"
[O] var_append patchfiles " " "i2c-2.8.0-2.4.22-pre9-rxr.patch.bz2"
[D] 4044266806 linux-2.4.21.tar.bz2 ftp://ftp.kernel.org/pub/linux/kernel/v2.4/
[D] 2504740549 i2c-2.8.0-2.4.21.patch !http://www.ensicaen.ismra.fr/~delvare/devel/i2c/linux-2.4.21-i2c-2.8.0.patch
[D] 1553276147 acpi-20030619-2.4.21.diff.gz http://dl.sourceforge.net/sourceforge/acpi/
[D] 1991898119 linux-2.4.22.tar.bz2 ftp://ftp.kernel.org/pub/linux/kernel/v2.4/
# http://www.13thfloor.at/VServer/patches-2.4.22-p9c17/11_i2c-2.8.0.patch.bz2
[D] 3800201735 i2c-2.8.0-2.4.22-pre9-rxr.patch.bz2 http://gsmp.tfh-berlin.de/ftp/software/i2c/

Loading…
Cancel
Save