Date: Thu, 15 Jan 1998 16:00:25 +0100 From: Jes Sorensen To: linux-m68k@lists.linux-m68k.org Subject: L68K: 53c710 driver Sender: owner-linux-m68k@phil.uni-sb.de Hi As promised Jes ------- start of forwarded message ------- From: Richard Hirst Sender: richard@blackcurrant.net-tel.co.uk To: Jes.Sorensen@cern.ch CC: richard@sleepie.demon.co.uk Subject: 2.1.79 patch for 53c7xx SCSI Date: Thu, 15 Jan 1998 08:56:45 +0000 Hi Jes, The 53c7xx.c driver stopped working in 2.1.77 (for me anyway). This is because of changes to drivers/scsi/hosts.h, where Scsi_Host.hostdata is now on an odd word boundary. Would you be happy for this to be fixed in hosts.h as follows: --- linux-2.1.79/drivers/scsi/hosts.h- Thu Jan 15 08:44:41 1998 +++ linux-2.1.79/drivers/scsi/hosts.h Thu Jan 15 08:45:53 1998 @@ -371,7 +371,8 @@ void (*select_queue_depths)(struct Scsi_Host *, Scsi_Device *); - unsigned long hostdata[0]; /* Used for storage of host specific stuff */ + unsigned long hostdata[0] /* Used for storage of host specific stuff */ + __attribute__ ((aligned (4))); }; Or should I make 53c7xx.c force the alignment it requires? 53c7xx.c overlays a structure on hostdata[] and expects it to start on a long boundary. Richard. ------- end of forwarded message -------