Skip to contentSkip to conversation

patch to compil sym53c416 under 2.5.x

PATCH Gregoire Favre 1 participant 1 message May 21, 2002

lore
Share & tools
lore
#0 lore raw

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 renamed from sym53c416.c~ +2 -2
@@ -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:[email protected]