Nobody knows why this patch works. (Really!) But it does. (Really!)
It makes the sym53c8xx driver work even with some very old 53c810 chips.
Without this patch, the driver hangs on them. This is reproducible....
Index: drivers/scsi/sym53c8xx.c
--- drivers/scsi/sym53c8xx.c.prev
+++ drivers/scsi/sym53c8xx.c Sat Jun 17 17:49:46 2000
@@ -4792,5 +4792,5 @@ printk(KERN_INFO NAME53C "%s-%d: rev=0x%
#define XXX 0
#else
-#define XXX 3
+#define XXX 2
#endif
np->script0->dataphase[XXX] = cpu_to_scr(SCR_JUMP);
-- Chip Salzenberg - a.k.a. - <chip@valinux.com> "I wanted to play hopscotch with the impenetrable mystery of existence, but he stepped in a wormhole and had to go in early." // MST3K - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:24 EST