[ELDK] Bug in tqm5200.c

Christoph Fauck christoph.fauck at mp-ndt.de
Mon Jun 23 15:44:11 CEST 2008


Hi.

Seems to found a bug within tqm5200.c.

Board Version: 	TQM5200
ELDK-Version:	4.2

Compilation and booting of kernel without PCI is successfully.
Then activating PCI sub system. After compilation I get the following messages:

arch/powerpc/platforms/52xx/tqm5200.c: In function 'tqm5200_setup_arch':
arch/powerpc/platforms/52xx/tqm5200.c:44: error: 'np' undeclared (first use in this function)
arch/powerpc/platforms/52xx/tqm5200.c:44: error: (Each undeclared identifier is reported only once
arch/powerpc/platforms/52xx/tqm5200.c:44: error: for each function it appears in.)

After activating of all features of PCI subsystem and compilation again, the error still exists. 

Tried to declare np locally in tqm5299.c. Kernel panic during initializing of PCI subsystem. Seems to be a global variable.

Need help.


Thanks and regards,
Christoph Fauck


More information about the eldk mailing list