Driver compiling problems
I am trying to compile a CompactPci driver in 2.6.0. The driver worked fine in 2.4.20. I get the following error during the compile stage
/usr/src/linux-2.6/include/asm/hw_irq.h:28: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/src/linux-2.6/include/asm/hw_irq.h:31: `NR_IRQS' undeclared here (not in a function)
../common/PlxChip/Pci9656/PlxInterrupt.c: In function `OnInterrupt':
../common/PlxChip/Pci9656/PlxInterrupt.c:219: warning: implicit declaration of function `mark_bh'
../common/PlxChip/Pci9656/PlxInterrupt.c:221: `IMMEDIATE_BH' undeclared (first use in this function)
../common/PlxChip/Pci9656/PlxInterrupt.c:221: (Each undeclared identifier is reported only once
../common/PlxChip/Pci9656/PlxInterrupt.c:221: for each function it appears in.)
make: *** [Driver/Obj/PlxInterrupt.o] Error 1
Is there a way that i can fix this problem?
|