patch to compil sym53c416 under 2.5.x

From: Gregoire Favre (greg@ulima.unil.ch)
Date: Tue May 21 2002 - 07:05:13 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 23 2002 - 22:00:21 EST