[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

AlphaServer ES45 w/ Fibre-Channel

Has any one have experience porting drivers from i386 to Alpha?  I've been 
trying to get an Emulex KGPSA-CX working on an DEC AlphaServer ES45 using the 
Emulex lpfcdriver-1.23a driver (which was configured for RedHat and all the 
common platforms except Alpha).  I have added the alpha platform to the 
Makefile (as well as Debian) with the compiler flags but I still get the 
following error:

gcc -Wall -O2 -fomit-frame-pointer -D__KERNEL__ -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common 
-pipe -mno-fp-regs -ffixed-8 -mcpu=ev5 -Wa,-mev6 -DMODULE -DMODVERSIONS 
-DLP6000 -D_LINUX -I/lib/modules/2.4.9-32.5smp/build/include 
-I/lib/modules/2.4.9-32.5smp/build/include/scsi -c fcrpib.c fcscsib.c 
fcmboxb.c fcmemb.c fcelsb.c fcstratb.c fcxmitb.c fcclockb.c 
fcscsib.c: In function `fmtout':
fcscsib.c:7084: cannot convert to a pointer type
fcscsib.c: In function `fc_sprintf_fargs':
fcscsib.c:7357: incompatible type for argument 3 of `fmtout'
fcscsib.c: In function `fc_log_printf_msg_vargs':
fcscsib.c:7405: incompatible type for argument 3 of `fc_sprintf_fargs'

The third argument it speaks of is for va_list.  I'm thinking that I'm 
missing some definitions that account for the difference in type sizes on 
Alpha.  Is there anyone that could help me with this?

Reply to: