mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* patch to compil sym53c416 under 2.5.x
@ 2002-05-21 12:05 Gregoire Favre
  0 siblings, 0 replies; only message in thread
From: Gregoire Favre @ 2002-05-21 12:05 UTC (permalink / raw)
  To: linux-kernel

Hello,

since a few kernel, I try to compil without success, so as for 2.5.17
still with the same problem, here a quick fix:

--- sym53c416.c~	2002-01-31 18:07:05.000000000 +0100
+++ sym53c416.c	2002-05-21 11:00:08.000000000 +0200
@@ -449,7 +449,7 @@
 					sglist = current_command->request_buffer;
 					while(sgcount--)
 					{
-						tot_trans += sym53c416_write(base, sglist->address, sglist->length);
+						tot_trans += sym53c416_write(base, sglist->dma_address, sglist->length); 						sglist++;
 					}
 				}
@@ -475,7 +475,7 @@
 					sglist = current_command->request_buffer;
 					while(sgcount--)
 					{
-						tot_trans += sym53c416_read(base, sglist->address, sglist->length);
+						tot_trans += sym53c416_read(base, sglist->dma_address, sglist->length);
 						sglist++;
 					}
 				}

I use gcc 3.1 for compil.
I hope it's good to post to this list as I am not subscribed...

Thanks you very much,

	Grégoire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:greg@ulima.unil.ch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-21 12:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-21 12:05 patch to compil sym53c416 under 2.5.x Gregoire Favre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®