Here is the corresponding patch against linux-2.0.6:
(I have added a little change concerning the Tagged Queue problem)
------------------------------------------------------------------------------
--- /tmp/linux/drivers/scsi/ChangeLog.ncr53c8xx Sat Jul 6 16:09:01 1996
+++ linux/drivers/scsi/ChangeLog.ncr53c8xx Sun Jul 14 14:31:32 1996
@@ -1,4 +1,21 @@
-Mon Jul 03 23:00 1996 Gerard Roudier (groudier@club-internet.fr)
+Sun Jul 14 15:00 1996 Gerard Roudier (groudier@club-internet.fr)
+ * ncr53c8xx.c, Configure.help
+ Memory mapped io donnot work under linux/Alpha for the driver.
+ For the moment it is better to not support this feature for this
+ architecture.
+
+Tue Jul 09 20:00 1996 Gerard Roudier (groudier@club-internet.fr)
+ * ncr53c8xx.c
+ Garbage printed out with the following command (fixed):
+ - cat <some proc scsi device> /proc/scsi/ncr53c8xx/0
+
+Sun Jul 07 20:00 1996 Gerard Roudier (groudier@club-internet.fr)
+ * ncr53c8xx.c
+ Tagged command queueing cannot be disabled at run time.
+ I probably never try that because I felt the risk.
+ Shortest patch sent to Linus. I have to plan something better.
+
+Wed Jul 03 23:00 1996 Gerard Roudier (groudier@club-internet.fr)
Release 1.12a
Tested linux releases: 1.2.13, 2.0.0, 2.0.1
--- /tmp/linux/Documentation/Configure.help Sat Jul 6 16:09:01 1996
+++ linux/Documentation/Configure.help Sun Jul 14 21:01:53 1996
@@ -1442,10 +1442,12 @@
This driver has been tested ok with linux/i386 and is currently untested
under linux/Alpha. If you intend to use this driver under linux/Alpha, just
try it first with read-only or mounted read-only devices.
+ Memory mapped io are currently not supported under linux/Alpha.
force normal IO
CONFIG_SCSI_NCR53C8XX_IOMAPPED
- This option allow to force the driver to use normal IO.
+ Under linux/Alpha only normal io are currently supported.
+ Under linux/i386, this option allow to force the driver to use normal IO.
Memory mapped IO have less latency than normal IO.
During initialisation phase, the driver first tries to use memory mapped io.
If nothing seems wrong, it will use memory mapped io.
--- /tmp/linux/drivers/scsi/ncr53c8xx.c Sat Jul 13 12:04:12 1996
+++ linux/drivers/scsi/ncr53c8xx.c Sun Jul 14 14:48:34 1996
@@ -243,7 +243,7 @@
#define NCR_SNOOP_TIMEOUT (1000000)
-#ifdef SCSI_NCR_IOMAPPED
+#if defined(SCSI_NCR_IOMAPPED) || defined(__alpha__)
#define NCR_IOMAPPED
#endif
@@ -6546,9 +6546,14 @@
np->script->start1[0] = SCR_INT;
/*
+ ** For the moment tagged transfers cannot be disabled.
+ */
+#if 0
+ /*
** Try to disable tagged transfers.
*/
ncr_setmaxtags (np, &np->target[target], 0);
+#endif
/*
** @QUEUE@
---------------------------------------------------------------------------
Gerard.