On Sat, Sep 04, 2004 at 08:13:23PM +0200, Kars de Jong wrote: > On Sun, 2004-08-22 at 15:34, Christian T. Steigies wrote: > > > This is a list of drivers I had to remove for the amiga to compile: > > 53c7xx.c cyberfb.c pm2fb.c retz3fb.c virgefb.c > > > > stram for atari also failed. > > > > I put the last lines of the build log here: > > http://people.debian.org/~cts/linux-m68k/ > > Maybe somebody can fix this? > > > > I am afraid that this affects the VME SCSI driver, too... > > OK, I've fixed the compile errors (but not the warnings, I don't get > them because I use gcc 2.95.4) in the 53c7xx driver. This driver > contains some pretty nasty things (using private structure fields etc.) > and my fixes are only 'quick and dirty' i.e. they still use private > structure fields :-P
Your patch applies cleany to 2.6.8, but it does not compile... This is from building an Amiga kernel, I unset CONFIG_CLEAN_COMPILE and set CONFIG_SCSI_AMIGA7XX=y, there are a few other changes to the config which stem from CLEAN_COMPILE I guess, but they are not related to the SCSI driver. CC drivers/scsi/53c7xx.o drivers/scsi/53c7xx.c:2363:63: pasting "->" and "dsa_msgout_other" does not give a valid preprocessing token drivers/scsi/53c7xx.c:2363:63: pasting "->" and "dsa_msgout_other" does not give a valid preprocessing token drivers/scsi/53c7xx.c:2365:61: pasting "->" and "dsa_msgout_other" does not give a valid preprocessing token drivers/scsi/53c7xx.c:2365:61: pasting "->" and "dsa_msgout_other" does not give a valid preprocessing token drivers/scsi/53c7xx.c:2436:49: pasting "->" and "dsa_msgout" does not give a valid preprocessing token drivers/scsi/53c7xx.c:2436:49: pasting "->" and "dsa_msgout" does not give a valid preprocessing token drivers/scsi/53c7xx.c:2443:49: pasting "->" and "dsa_cmdout" does not give a valid preprocessing token drivers/scsi/53c7xx.c:2443:49: pasting "->" and "dsa_cmdout" does not give a valid preprocessing token drivers/scsi/53c7xx.c:2470:71: pasting "->" and "dsa_dataout" does not give a valid preprocessing token [...] drivers/scsi/53c7xx.c:3336:72: pasting "->" and "dsa_status" does not give a valid preprocessing token drivers/scsi/53c7xx.c:3342:50: pasting "->" and "dsa_msgout_other" does not give a valid preprocessing token drivers/scsi/53c7xx.c:3342:50: pasting "->" and "dsa_msgout_other" does not give a valid preprocessing token drivers/scsi/53c7xx.c:3344:52: pasting "->" and "dsa_msgout_other" does not give a valid preprocessing token drivers/scsi/53c7xx.c:3344:52: pasting "->" and "dsa_msgout_other" does not give a valid preprocessing token drivers/scsi/53c7xx.c: In function `NCR53c7xx_queue_command': drivers/scsi/53c7xx.c:3599: warning: use of cast expressions as lvalues is deprecated make[4]: *** [drivers/scsi/53c7xx.o] Error 1 Is your patch only for 2.6.7, or do I have to change something else to make this compile? Christian

