[Linux-parport] ppSCSI driver suite for linux 2.6
Samuel Plessis-Fraissard
samuel.plessis-fraissard at wanadoo.fr
Sun Mar 7 12:20:21 GMT 2004
Hi,
thanks to Jochen Eisinger for the submitted patch for the ppscsi
drivers on 2.6.x kernel. It could not works properly on mine. but with
the simple following modification I managed to get it working.
the message I got was : "Unknown symbol __udivdi3"
here's he patching patch.
--- linux-ppscsi-2.6.x.patch 2004-03-07 11:06:55.610596224 +0100
+++ linux-ppscsi-2.6.x.patched.patch 2004-03-07 11:11:26.118472776 +0100
@@ -2602,11 +2602,11 @@
+{
+ ip[0] = 0x40;
+ ip[1] = 0x20;
-+ ip[2] = (capacity +1) / (ip[0] * ip[1]);
++ ip[2] = ((unsigned long) capacity +1) / (ip[0] * ip[1]);
+ if (ip[2] > 1024) {
+ ip[0] = 0xff;
+ ip[1] = 0x3f;
-+ ip[2] = (capacity +1) / (ip[0] * ip[1]);
++ ip[2] = ((unsigned long) capacity +1) / (ip[0] * ip[1]);
+ if (ip[2] > 1023)
+ ip[2] = 1023;
+ }
More information about the Linux-parport
mailing list