Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
EATA module compilation problem with 2.4.27_sparc kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
meshit
n00b
n00b


Joined: 08 Nov 2004
Posts: 23
Location: France

PostPosted: Mon Nov 08, 2004 6:10 pm    Post subject: EATA module compilation problem with 2.4.27_sparc kernel Reply with quote

Hi

I need to install a DPT Smart Raid Pci adaptor ion my gentoo sparc.
This adaptor is ruinning with EATA_PIO module.
This module is not in the2.4.27_r1-sparc kernel. However i added it in my .config with the following:
Quote:

CONFIG_SCSI_EATA=m
CONFIG_SCSI_EATA_TAGGED_QUEUE=y
CONFIG_SCSI_EATA_LINKED_COMMANDS=y
CONFIG_SCSI_EATA_MAX_TAGS=16
CONFIG_SCSI_EATA_DMA=n
CONFIG_SCSI_EATA_PIO=m


then I ran my my compilation and:

Quote:
sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux-2.4.27-sparc/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare -Wa,--undeclared-regs -finline-limit=100000 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.27-sparc/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=eata -c -o eata.o eata.c
eata.c: In function `port_detect':
eata.c:1228: warning: implicit declaration of function `disable_dma'
eata.c:1229: warning: implicit declaration of function `clear_dma_ff'
eata.c:1230: warning: implicit declaration of function `set_dma_mode'
eata.c:1230: error: `DMA_MODE_CASCADE' undeclared (first use in this function)
eata.c:1230: error: (Each undeclared identifier is reported only once
eata.c:1230: error: for each function it appears in.)
eata.c:1231: warning: implicit declaration of function `enable_dma'
make[2]: *** [eata.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.27-sparc/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.27-sparc/drivers'
make: *** [_mod_drivers] Error 2


Is anybody succeeded in compiling this module on Sparc64 with 2.4.27-r1-gentoo-sparc ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum