Skip to contentSkip to conversation

Linux 2.5.60-dj2

DISCUSSION Dave Jones 2 participants 3 messages Feb 11, 2003 – Feb 12, 2003

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

Been a while since I did a -dj, but I've accumulated a bunch of driver stuff (which shouldn't crossover too much with what Andrew is doing in -mm) that could use some extra testing, so here's what I've been up to of late..

ftp://ftp.kernel.org/pub/linux/kernel/people/davej/patches/2.5/2.5.60/

(Thanks to Steven Cole for noticing the agp problems before I
even got a chance to write the changelog 8-)

2.5.60-dj2
- Fix up modules versioning (Kai)
- Throw out some stale agpgart bits that broke the compile.

2.5.60-dj1
- cpufreq updates.
- Athlon/Duron powernow cpufreq support.
Handle with care. Only known bug is that the top speed
isn't usable.
- Updates various core parts, and other cpufreq drivers.
- AGPGART updates
VIA KT400 support.
Updated VIA AGP2.0 GART tables (PLE133 and others). Various cleanups.
- VIA C3 Nehemiah support.
Compiles as i686/c3-2, works around L2 cache size errata.
- Watchdog fixes
sc1200wdt PNP API conversion (Adam Belay)
- Lots of other leftovers from older -dj patches This stuff needs sorting, and some bits throwing out. There's lots of 2.4 forward port stuff here, and more pending.
- Latest from Linus' bk tree.
(Just there to help me stay in sync)

Signature · 2 lines
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
#1 lore raw

2.5.60-dj2: lonkhaul.c doesn't compile

Quoted 6 lines · Dave Jones

...
2.5.60-dj1
- cpufreq updates.
...
- Updates various core parts, and other cpufreq drivers.
...

This broke the compilation of longhaul.c #ifdef CONFIG_CPU_FREQ_24_API:

<-- snip -->

...
gcc -Wp,-MD,arch/i386/kernel/cpu/cpufreq/.longhaul.o.d -D__KERNEL__
-Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6
-Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include -DKBUILD_BASENAME=longhaul
-DKBUILD_MODNAME=longhaul -c -o arch/i386/kernel/cpu/cpufreq/longhaul.o arch/i386/kernel/cpu/cpufreq/longhaul.c
arch/i386/kernel/cpu/cpufreq/longhaul.c: In function `longhaul_cpu_init':
arch/i386/kernel/cpu/cpufreq/longhaul.c:644: `longhaul_driver' undeclared (first use in this function) arch/i386/kernel/cpu/cpufreq/longhaul.c:644: (Each undeclared identifier is reported only once arch/i386/kernel/cpu/cpufreq/longhaul.c:644: for each function it appears in.) arch/i386/kernel/cpu/cpufreq/longhaul.c: At top level:
arch/i386/kernel/cpu/cpufreq/longhaul.c:650: `longhaul_driver' used prior to declaration make[3]: *** [arch/i386/kernel/cpu/cpufreq/longhaul.o] Error 1

<-- snip -->

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
author
#2 lore raw

Re: 2.5.60-dj2: lonkhaul.c doesn't compile

Quoted 6 lines · Adrian Bunk

arch/i386/kernel/cpu/cpufreq/longhaul.c:644: `longhaul_driver' undeclared (first use in this function) arch/i386/kernel/cpu/cpufreq/longhaul.c:644: (Each undeclared identifier is reported only once arch/i386/kernel/cpu/cpufreq/longhaul.c:644: for each function it appears in.) arch/i386/kernel/cpu/cpufreq/longhaul.c: At top level:
arch/i386/kernel/cpu/cpufreq/longhaul.c:650: `longhaul_driver' used prior to declaration make[3]: *** [arch/i386/kernel/cpu/cpufreq/longhaul.o] Error 1

The longhaul_driver struct needs to be defined before longhaul_cpu_init() You'll need to fix up forward declaration of longhaul_cpu_init() then though too. Icky.

Dave

Signature · 2 lines
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs