patch to compil sym53c416 under 2.5.x

Gregoire Favre (greg@ulima.unil.ch)
Tue, 21 May 2002 14:05:13 +0200


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/