All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20160103050507.391774791@telegraphics.com.au>

diff --git a/a/1.txt b/N1/1.txt
index cf020b4..32be82c 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,242 +1,3 @@
-Follow the example of the atari_NCR5380.c core driver and adopt the
-NCR5380_dma_xfer_len() hook. Implement NCR5380_dma_xfer_len() for dtc.c
-and g_NCR5380.c to take care of the limitations of these cards. Keep the
-default for drivers using PSEUDO_DMA.
-
-Eliminate the unused macro LIMIT_TRANSFERSIZE. 
-
-Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
-Reviewed-by: Hannes Reinecke <hare@suse.com>
-Tested-by: Ondrej Zary <linux@rainbow-software.org>
-Tested-by: Michael Schmitz <schmitzmic@gmail.com>
-
----
- drivers/scsi/NCR5380.c       |   32 +++++---------------------------
- drivers/scsi/arm/cumana_1.c  |    3 +++
- drivers/scsi/arm/oak.c       |    2 ++
- drivers/scsi/atari_NCR5380.c |    8 +++++---
- drivers/scsi/dtc.c           |   14 ++++++++++++++
- drivers/scsi/dtc.h           |    3 +++
- drivers/scsi/g_NCR5380.c     |   15 +++++++++++++++
- drivers/scsi/g_NCR5380.h     |    3 +++
- drivers/scsi/mac_scsi.c      |    1 +
- drivers/scsi/pas16.h         |    2 ++
- drivers/scsi/t128.h          |    2 ++
- 11 files changed, 55 insertions(+), 30 deletions(-)
-
-Index: linux/drivers/scsi/NCR5380.c
-===================================================================
---- linux.orig/drivers/scsi/NCR5380.c	2016-01-03 16:03:30.000000000 +1100
-+++ linux/drivers/scsi/NCR5380.c	2016-01-03 16:03:31.000000000 +1100
-@@ -201,11 +201,6 @@
-  * DONT_USE_INTR - if defined, never use interrupts, even if we probe or
-  *      override-configure an IRQ.
-  *
-- * LIMIT_TRANSFERSIZE - if defined, limit the pseudo-dma transfers to 512
-- *      bytes at a time.  Since interrupts are disabled by default during
-- *      these transfers, we might need this to give reasonable interrupt
-- *      service time if the transfer size gets too large.
-- *
-  * LINKED - if defined, linked commands are supported.
-  *
-  * PSEUDO_DMA - if defined, PSEUDO DMA is used during the data transfer phases.
-@@ -2000,29 +1995,12 @@ static void NCR5380_information_transfer
- 				 */
- 
- #if defined(PSEUDO_DMA) || defined(REAL_DMA_POLL)
--				/* KLL
--				 * PSEUDO_DMA is defined here. If this is the g_NCR5380
--				 * driver then it will always be defined, so the
--				 * FLAG_NO_PSEUDO_DMA is used to inhibit PDMA in the base
--				 * NCR5380 case.  I think this is a fairly clean solution.
--				 * We supplement these 2 if's with the flag.
--				 */
--#ifdef NCR5380_dma_xfer_len
--				if (!cmd->device->borken && !(hostdata->flags & FLAG_NO_PSEUDO_DMA) && (transfersize = NCR5380_dma_xfer_len(instance, cmd)) != 0) {
--#else
--				transfersize = cmd->transfersize;
-+				transfersize = 0;
-+				if (!cmd->device->borken &&
-+				    !(hostdata->flags & FLAG_NO_PSEUDO_DMA))
-+					transfersize = NCR5380_dma_xfer_len(instance, cmd, phase);
- 
--#ifdef LIMIT_TRANSFERSIZE	/* If we have problems with interrupt service */
--				if (transfersize > 512)
--					transfersize = 512;
--#endif				/* LIMIT_TRANSFERSIZE */
--
--				if (!cmd->device->borken && transfersize && !(hostdata->flags & FLAG_NO_PSEUDO_DMA) && cmd->SCp.this_residual && !(cmd->SCp.this_residual % transfersize)) {
--					/* Limit transfers to 32K, for xx400 & xx406
--					 * pseudoDMA that transfers in 128 bytes blocks. */
--					if (transfersize > 32 * 1024)
--						transfersize = 32 * 1024;
--#endif
-+				if (transfersize) {
- 					len = transfersize;
- 					if (NCR5380_transfer_dma(instance, &phase, &len, (unsigned char **) &cmd->SCp.ptr)) {
- 						/*
-Index: linux/drivers/scsi/atari_NCR5380.c
-===================================================================
---- linux.orig/drivers/scsi/atari_NCR5380.c	2016-01-03 16:03:30.000000000 +1100
-+++ linux/drivers/scsi/atari_NCR5380.c	2016-01-03 16:03:31.000000000 +1100
-@@ -2170,11 +2170,13 @@ static void NCR5380_information_transfer
- 				 */
- 
- #if defined(REAL_DMA)
--				if (
- #if !defined(CONFIG_SUN3)
--				    !cmd->device->borken &&
-+				transfersize = 0;
-+				if (!cmd->device->borken)
- #endif
--				    (transfersize = NCR5380_dma_xfer_len(instance, cmd, phase)) >= DMA_MIN_SIZE) {
-+					transfersize = NCR5380_dma_xfer_len(instance, cmd, phase);
-+
-+				if (transfersize >= DMA_MIN_SIZE) {
- 					len = transfersize;
- 					cmd->SCp.phase = phase;
- 					if (NCR5380_transfer_dma(instance, &phase,
-Index: linux/drivers/scsi/dtc.c
-===================================================================
---- linux.orig/drivers/scsi/dtc.c	2016-01-03 16:03:23.000000000 +1100
-+++ linux/drivers/scsi/dtc.c	2016-01-03 16:03:31.000000000 +1100
-@@ -419,6 +419,20 @@ static inline int NCR5380_pwrite(struct
- 	return (0);
- }
- 
-+static int dtc_dma_xfer_len(struct scsi_cmnd *cmd)
-+{
-+	int transfersize = cmd->transfersize;
-+
-+	/* Limit transfers to 32K, for xx400 & xx406
-+	 * pseudoDMA that transfers in 128 bytes blocks.
-+	 */
-+	if (transfersize > 32 * 1024 && cmd->SCp.this_residual &&
-+	    !(cmd->SCp.this_residual % transfersize))
-+		transfersize = 32 * 1024;
-+
-+	return transfersize;
-+}
-+
- MODULE_LICENSE("GPL");
- 
- #include "NCR5380.c"
-Index: linux/drivers/scsi/g_NCR5380.c
-===================================================================
---- linux.orig/drivers/scsi/g_NCR5380.c	2016-01-03 16:03:23.000000000 +1100
-+++ linux/drivers/scsi/g_NCR5380.c	2016-01-03 16:03:31.000000000 +1100
-@@ -699,6 +699,21 @@ static inline int NCR5380_pwrite(struct
- 		; 	// TIMEOUT
- 	return 0;
- }
-+
-+static int generic_NCR5380_dma_xfer_len(struct scsi_cmnd *cmd)
-+{
-+	int transfersize = cmd->transfersize;
-+
-+	/* Limit transfers to 32K, for xx400 & xx406
-+	 * pseudoDMA that transfers in 128 bytes blocks.
-+	 */
-+	if (transfersize > 32 * 1024 && cmd->SCp.this_residual &&
-+	    !(cmd->SCp.this_residual % transfersize))
-+		transfersize = 32 * 1024;
-+
-+	return transfersize;
-+}
-+
- #endif /* PSEUDO_DMA */
- 
- /*
-Index: linux/drivers/scsi/g_NCR5380.h
-===================================================================
---- linux.orig/drivers/scsi/g_NCR5380.h	2016-01-03 16:03:06.000000000 +1100
-+++ linux/drivers/scsi/g_NCR5380.h	2016-01-03 16:03:31.000000000 +1100
-@@ -73,6 +73,9 @@
- 
- #endif
- 
-+#define NCR5380_dma_xfer_len(instance, cmd, phase) \
-+        generic_NCR5380_dma_xfer_len(cmd)
-+
- #define NCR5380_intr generic_NCR5380_intr
- #define NCR5380_queue_command generic_NCR5380_queue_command
- #define NCR5380_abort generic_NCR5380_abort
-Index: linux/drivers/scsi/dtc.h
-===================================================================
---- linux.orig/drivers/scsi/dtc.h	2016-01-03 16:02:56.000000000 +1100
-+++ linux/drivers/scsi/dtc.h	2016-01-03 16:03:31.000000000 +1100
-@@ -27,6 +27,9 @@
- #define NCR5380_read(reg) (readb(DTC_address(reg)))
- #define NCR5380_write(reg, value) (writeb(value, DTC_address(reg)))
- 
-+#define NCR5380_dma_xfer_len(instance, cmd, phase) \
-+        dtc_dma_xfer_len(cmd)
-+
- #define NCR5380_intr			dtc_intr
- #define NCR5380_queue_command		dtc_queue_command
- #define NCR5380_abort			dtc_abort
-Index: linux/drivers/scsi/arm/cumana_1.c
-===================================================================
---- linux.orig/drivers/scsi/arm/cumana_1.c	2016-01-03 16:03:23.000000000 +1100
-+++ linux/drivers/scsi/arm/cumana_1.c	2016-01-03 16:03:31.000000000 +1100
-@@ -22,6 +22,9 @@
- #define priv(host)			((struct NCR5380_hostdata *)(host)->hostdata)
- #define NCR5380_read(reg)		cumanascsi_read(instance, reg)
- #define NCR5380_write(reg, value)	cumanascsi_write(instance, reg, value)
-+
-+#define NCR5380_dma_xfer_len(instance, cmd, phase)	(cmd->transfersize)
-+
- #define NCR5380_intr			cumanascsi_intr
- #define NCR5380_queue_command		cumanascsi_queue_command
- #define NCR5380_info			cumanascsi_info
-Index: linux/drivers/scsi/arm/oak.c
-===================================================================
---- linux.orig/drivers/scsi/arm/oak.c	2016-01-03 16:03:23.000000000 +1100
-+++ linux/drivers/scsi/arm/oak.c	2016-01-03 16:03:31.000000000 +1100
-@@ -26,6 +26,8 @@
- #define NCR5380_write(reg, value) \
- 	writeb(value, priv(instance)->base + ((reg) << 2))
- 
-+#define NCR5380_dma_xfer_len(instance, cmd, phase)	(cmd->transfersize)
-+
- #define NCR5380_queue_command		oakscsi_queue_command
- #define NCR5380_info			oakscsi_info
- #define NCR5380_show_info		oakscsi_show_info
-Index: linux/drivers/scsi/mac_scsi.c
-===================================================================
---- linux.orig/drivers/scsi/mac_scsi.c	2016-01-03 16:03:23.000000000 +1100
-+++ linux/drivers/scsi/mac_scsi.c	2016-01-03 16:03:31.000000000 +1100
-@@ -38,6 +38,7 @@
- 
- #define NCR5380_pread                   macscsi_pread
- #define NCR5380_pwrite                  macscsi_pwrite
-+#define NCR5380_dma_xfer_len(instance, cmd, phase)	(cmd->transfersize)
- 
- #define NCR5380_intr                    macscsi_intr
- #define NCR5380_queue_command           macscsi_queue_command
-Index: linux/drivers/scsi/pas16.h
-===================================================================
---- linux.orig/drivers/scsi/pas16.h	2016-01-03 16:02:56.000000000 +1100
-+++ linux/drivers/scsi/pas16.h	2016-01-03 16:03:31.000000000 +1100
-@@ -110,6 +110,8 @@
- #define NCR5380_read(reg) ( inb(PAS16_io_port(reg)) )
- #define NCR5380_write(reg, value) ( outb((value),PAS16_io_port(reg)) )
- 
-+#define NCR5380_dma_xfer_len(instance, cmd, phase)	(cmd->transfersize)
-+
- #define NCR5380_intr pas16_intr
- #define NCR5380_queue_command pas16_queue_command
- #define NCR5380_abort pas16_abort
-Index: linux/drivers/scsi/t128.h
-===================================================================
---- linux.orig/drivers/scsi/t128.h	2016-01-03 16:02:56.000000000 +1100
-+++ linux/drivers/scsi/t128.h	2016-01-03 16:03:31.000000000 +1100
-@@ -84,6 +84,8 @@
- #define NCR5380_read(reg) readb(T128_address(reg))
- #define NCR5380_write(reg, value) writeb((value),(T128_address(reg)))
- 
-+#define NCR5380_dma_xfer_len(instance, cmd, phase)	(cmd->transfersize)
-+
- #define NCR5380_intr t128_intr
- #define NCR5380_queue_command t128_queue_command
- #define NCR5380_abort t128_abort
+An embedded and charset-unspecified text was scrubbed...
+Name: ncr5380-implement-NCR5380_dma_xfer_len
+URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160103/16314555/attachment.ksh>
diff --git a/a/content_digest b/N1/content_digest
index 582f01e..19cb7b3 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,259 +1,12 @@
  "ref\020160103050501.042035135@telegraphics.com.au\0"
- "From\0Finn Thain <fthain@telegraphics.com.au>\0"
+ "From\0fthain@telegraphics.com.au (Finn Thain)\0"
  "Subject\0[PATCH v4 24/78] ncr5380: Implement NCR5380_dma_xfer_len and remove LIMIT_TRANSFERSIZE macro\0"
  "Date\0Sun, 03 Jan 2016 16:05:25 +1100\0"
- "To\0James E.J. Bottomley <JBottomley@odin.com>"
-  Martin K. Petersen <martin.petersen@oracle.com>
-  Michael Schmitz <schmitzmic@gmail.com>
-  linux-m68k@vger.kernel.org
-  linux-scsi@vger.kernel.org
-  linux-kernel@vger.kernel.org
-  Russell King <linux@arm.linux.org.uk>
- " linux-arm-kernel@lists.infradead.org\0"
+ "To\0linux-arm-kernel@lists.infradead.org\0"
  "\00:1\0"
- "fn\0ncr5380-implement-NCR5380_dma_xfer_len\0"
  "b\0"
- "Follow the example of the atari_NCR5380.c core driver and adopt the\n"
- "NCR5380_dma_xfer_len() hook. Implement NCR5380_dma_xfer_len() for dtc.c\n"
- "and g_NCR5380.c to take care of the limitations of these cards. Keep the\n"
- "default for drivers using PSEUDO_DMA.\n"
- "\n"
- "Eliminate the unused macro LIMIT_TRANSFERSIZE. \n"
- "\n"
- "Signed-off-by: Finn Thain <fthain@telegraphics.com.au>\n"
- "Reviewed-by: Hannes Reinecke <hare@suse.com>\n"
- "Tested-by: Ondrej Zary <linux@rainbow-software.org>\n"
- "Tested-by: Michael Schmitz <schmitzmic@gmail.com>\n"
- "\n"
- "---\n"
- " drivers/scsi/NCR5380.c       |   32 +++++---------------------------\n"
- " drivers/scsi/arm/cumana_1.c  |    3 +++\n"
- " drivers/scsi/arm/oak.c       |    2 ++\n"
- " drivers/scsi/atari_NCR5380.c |    8 +++++---\n"
- " drivers/scsi/dtc.c           |   14 ++++++++++++++\n"
- " drivers/scsi/dtc.h           |    3 +++\n"
- " drivers/scsi/g_NCR5380.c     |   15 +++++++++++++++\n"
- " drivers/scsi/g_NCR5380.h     |    3 +++\n"
- " drivers/scsi/mac_scsi.c      |    1 +\n"
- " drivers/scsi/pas16.h         |    2 ++\n"
- " drivers/scsi/t128.h          |    2 ++\n"
- " 11 files changed, 55 insertions(+), 30 deletions(-)\n"
- "\n"
- "Index: linux/drivers/scsi/NCR5380.c\n"
- "===================================================================\n"
- "--- linux.orig/drivers/scsi/NCR5380.c\t2016-01-03 16:03:30.000000000 +1100\n"
- "+++ linux/drivers/scsi/NCR5380.c\t2016-01-03 16:03:31.000000000 +1100\n"
- "@@ -201,11 +201,6 @@\n"
- "  * DONT_USE_INTR - if defined, never use interrupts, even if we probe or\n"
- "  *      override-configure an IRQ.\n"
- "  *\n"
- "- * LIMIT_TRANSFERSIZE - if defined, limit the pseudo-dma transfers to 512\n"
- "- *      bytes at a time.  Since interrupts are disabled by default during\n"
- "- *      these transfers, we might need this to give reasonable interrupt\n"
- "- *      service time if the transfer size gets too large.\n"
- "- *\n"
- "  * LINKED - if defined, linked commands are supported.\n"
- "  *\n"
- "  * PSEUDO_DMA - if defined, PSEUDO DMA is used during the data transfer phases.\n"
- "@@ -2000,29 +1995,12 @@ static void NCR5380_information_transfer\n"
- " \t\t\t\t */\n"
- " \n"
- " #if defined(PSEUDO_DMA) || defined(REAL_DMA_POLL)\n"
- "-\t\t\t\t/* KLL\n"
- "-\t\t\t\t * PSEUDO_DMA is defined here. If this is the g_NCR5380\n"
- "-\t\t\t\t * driver then it will always be defined, so the\n"
- "-\t\t\t\t * FLAG_NO_PSEUDO_DMA is used to inhibit PDMA in the base\n"
- "-\t\t\t\t * NCR5380 case.  I think this is a fairly clean solution.\n"
- "-\t\t\t\t * We supplement these 2 if's with the flag.\n"
- "-\t\t\t\t */\n"
- "-#ifdef NCR5380_dma_xfer_len\n"
- "-\t\t\t\tif (!cmd->device->borken && !(hostdata->flags & FLAG_NO_PSEUDO_DMA) && (transfersize = NCR5380_dma_xfer_len(instance, cmd)) != 0) {\n"
- "-#else\n"
- "-\t\t\t\ttransfersize = cmd->transfersize;\n"
- "+\t\t\t\ttransfersize = 0;\n"
- "+\t\t\t\tif (!cmd->device->borken &&\n"
- "+\t\t\t\t    !(hostdata->flags & FLAG_NO_PSEUDO_DMA))\n"
- "+\t\t\t\t\ttransfersize = NCR5380_dma_xfer_len(instance, cmd, phase);\n"
- " \n"
- "-#ifdef LIMIT_TRANSFERSIZE\t/* If we have problems with interrupt service */\n"
- "-\t\t\t\tif (transfersize > 512)\n"
- "-\t\t\t\t\ttransfersize = 512;\n"
- "-#endif\t\t\t\t/* LIMIT_TRANSFERSIZE */\n"
- "-\n"
- "-\t\t\t\tif (!cmd->device->borken && transfersize && !(hostdata->flags & FLAG_NO_PSEUDO_DMA) && cmd->SCp.this_residual && !(cmd->SCp.this_residual % transfersize)) {\n"
- "-\t\t\t\t\t/* Limit transfers to 32K, for xx400 & xx406\n"
- "-\t\t\t\t\t * pseudoDMA that transfers in 128 bytes blocks. */\n"
- "-\t\t\t\t\tif (transfersize > 32 * 1024)\n"
- "-\t\t\t\t\t\ttransfersize = 32 * 1024;\n"
- "-#endif\n"
- "+\t\t\t\tif (transfersize) {\n"
- " \t\t\t\t\tlen = transfersize;\n"
- " \t\t\t\t\tif (NCR5380_transfer_dma(instance, &phase, &len, (unsigned char **) &cmd->SCp.ptr)) {\n"
- " \t\t\t\t\t\t/*\n"
- "Index: linux/drivers/scsi/atari_NCR5380.c\n"
- "===================================================================\n"
- "--- linux.orig/drivers/scsi/atari_NCR5380.c\t2016-01-03 16:03:30.000000000 +1100\n"
- "+++ linux/drivers/scsi/atari_NCR5380.c\t2016-01-03 16:03:31.000000000 +1100\n"
- "@@ -2170,11 +2170,13 @@ static void NCR5380_information_transfer\n"
- " \t\t\t\t */\n"
- " \n"
- " #if defined(REAL_DMA)\n"
- "-\t\t\t\tif (\n"
- " #if !defined(CONFIG_SUN3)\n"
- "-\t\t\t\t    !cmd->device->borken &&\n"
- "+\t\t\t\ttransfersize = 0;\n"
- "+\t\t\t\tif (!cmd->device->borken)\n"
- " #endif\n"
- "-\t\t\t\t    (transfersize = NCR5380_dma_xfer_len(instance, cmd, phase)) >= DMA_MIN_SIZE) {\n"
- "+\t\t\t\t\ttransfersize = NCR5380_dma_xfer_len(instance, cmd, phase);\n"
- "+\n"
- "+\t\t\t\tif (transfersize >= DMA_MIN_SIZE) {\n"
- " \t\t\t\t\tlen = transfersize;\n"
- " \t\t\t\t\tcmd->SCp.phase = phase;\n"
- " \t\t\t\t\tif (NCR5380_transfer_dma(instance, &phase,\n"
- "Index: linux/drivers/scsi/dtc.c\n"
- "===================================================================\n"
- "--- linux.orig/drivers/scsi/dtc.c\t2016-01-03 16:03:23.000000000 +1100\n"
- "+++ linux/drivers/scsi/dtc.c\t2016-01-03 16:03:31.000000000 +1100\n"
- "@@ -419,6 +419,20 @@ static inline int NCR5380_pwrite(struct\n"
- " \treturn (0);\n"
- " }\n"
- " \n"
- "+static int dtc_dma_xfer_len(struct scsi_cmnd *cmd)\n"
- "+{\n"
- "+\tint transfersize = cmd->transfersize;\n"
- "+\n"
- "+\t/* Limit transfers to 32K, for xx400 & xx406\n"
- "+\t * pseudoDMA that transfers in 128 bytes blocks.\n"
- "+\t */\n"
- "+\tif (transfersize > 32 * 1024 && cmd->SCp.this_residual &&\n"
- "+\t    !(cmd->SCp.this_residual % transfersize))\n"
- "+\t\ttransfersize = 32 * 1024;\n"
- "+\n"
- "+\treturn transfersize;\n"
- "+}\n"
- "+\n"
- " MODULE_LICENSE(\"GPL\");\n"
- " \n"
- " #include \"NCR5380.c\"\n"
- "Index: linux/drivers/scsi/g_NCR5380.c\n"
- "===================================================================\n"
- "--- linux.orig/drivers/scsi/g_NCR5380.c\t2016-01-03 16:03:23.000000000 +1100\n"
- "+++ linux/drivers/scsi/g_NCR5380.c\t2016-01-03 16:03:31.000000000 +1100\n"
- "@@ -699,6 +699,21 @@ static inline int NCR5380_pwrite(struct\n"
- " \t\t; \t// TIMEOUT\n"
- " \treturn 0;\n"
- " }\n"
- "+\n"
- "+static int generic_NCR5380_dma_xfer_len(struct scsi_cmnd *cmd)\n"
- "+{\n"
- "+\tint transfersize = cmd->transfersize;\n"
- "+\n"
- "+\t/* Limit transfers to 32K, for xx400 & xx406\n"
- "+\t * pseudoDMA that transfers in 128 bytes blocks.\n"
- "+\t */\n"
- "+\tif (transfersize > 32 * 1024 && cmd->SCp.this_residual &&\n"
- "+\t    !(cmd->SCp.this_residual % transfersize))\n"
- "+\t\ttransfersize = 32 * 1024;\n"
- "+\n"
- "+\treturn transfersize;\n"
- "+}\n"
- "+\n"
- " #endif /* PSEUDO_DMA */\n"
- " \n"
- " /*\n"
- "Index: linux/drivers/scsi/g_NCR5380.h\n"
- "===================================================================\n"
- "--- linux.orig/drivers/scsi/g_NCR5380.h\t2016-01-03 16:03:06.000000000 +1100\n"
- "+++ linux/drivers/scsi/g_NCR5380.h\t2016-01-03 16:03:31.000000000 +1100\n"
- "@@ -73,6 +73,9 @@\n"
- " \n"
- " #endif\n"
- " \n"
- "+#define NCR5380_dma_xfer_len(instance, cmd, phase) \\\n"
- "+        generic_NCR5380_dma_xfer_len(cmd)\n"
- "+\n"
- " #define NCR5380_intr generic_NCR5380_intr\n"
- " #define NCR5380_queue_command generic_NCR5380_queue_command\n"
- " #define NCR5380_abort generic_NCR5380_abort\n"
- "Index: linux/drivers/scsi/dtc.h\n"
- "===================================================================\n"
- "--- linux.orig/drivers/scsi/dtc.h\t2016-01-03 16:02:56.000000000 +1100\n"
- "+++ linux/drivers/scsi/dtc.h\t2016-01-03 16:03:31.000000000 +1100\n"
- "@@ -27,6 +27,9 @@\n"
- " #define NCR5380_read(reg) (readb(DTC_address(reg)))\n"
- " #define NCR5380_write(reg, value) (writeb(value, DTC_address(reg)))\n"
- " \n"
- "+#define NCR5380_dma_xfer_len(instance, cmd, phase) \\\n"
- "+        dtc_dma_xfer_len(cmd)\n"
- "+\n"
- " #define NCR5380_intr\t\t\tdtc_intr\n"
- " #define NCR5380_queue_command\t\tdtc_queue_command\n"
- " #define NCR5380_abort\t\t\tdtc_abort\n"
- "Index: linux/drivers/scsi/arm/cumana_1.c\n"
- "===================================================================\n"
- "--- linux.orig/drivers/scsi/arm/cumana_1.c\t2016-01-03 16:03:23.000000000 +1100\n"
- "+++ linux/drivers/scsi/arm/cumana_1.c\t2016-01-03 16:03:31.000000000 +1100\n"
- "@@ -22,6 +22,9 @@\n"
- " #define priv(host)\t\t\t((struct NCR5380_hostdata *)(host)->hostdata)\n"
- " #define NCR5380_read(reg)\t\tcumanascsi_read(instance, reg)\n"
- " #define NCR5380_write(reg, value)\tcumanascsi_write(instance, reg, value)\n"
- "+\n"
- "+#define NCR5380_dma_xfer_len(instance, cmd, phase)\t(cmd->transfersize)\n"
- "+\n"
- " #define NCR5380_intr\t\t\tcumanascsi_intr\n"
- " #define NCR5380_queue_command\t\tcumanascsi_queue_command\n"
- " #define NCR5380_info\t\t\tcumanascsi_info\n"
- "Index: linux/drivers/scsi/arm/oak.c\n"
- "===================================================================\n"
- "--- linux.orig/drivers/scsi/arm/oak.c\t2016-01-03 16:03:23.000000000 +1100\n"
- "+++ linux/drivers/scsi/arm/oak.c\t2016-01-03 16:03:31.000000000 +1100\n"
- "@@ -26,6 +26,8 @@\n"
- " #define NCR5380_write(reg, value) \\\n"
- " \twriteb(value, priv(instance)->base + ((reg) << 2))\n"
- " \n"
- "+#define NCR5380_dma_xfer_len(instance, cmd, phase)\t(cmd->transfersize)\n"
- "+\n"
- " #define NCR5380_queue_command\t\toakscsi_queue_command\n"
- " #define NCR5380_info\t\t\toakscsi_info\n"
- " #define NCR5380_show_info\t\toakscsi_show_info\n"
- "Index: linux/drivers/scsi/mac_scsi.c\n"
- "===================================================================\n"
- "--- linux.orig/drivers/scsi/mac_scsi.c\t2016-01-03 16:03:23.000000000 +1100\n"
- "+++ linux/drivers/scsi/mac_scsi.c\t2016-01-03 16:03:31.000000000 +1100\n"
- "@@ -38,6 +38,7 @@\n"
- " \n"
- " #define NCR5380_pread                   macscsi_pread\n"
- " #define NCR5380_pwrite                  macscsi_pwrite\n"
- "+#define NCR5380_dma_xfer_len(instance, cmd, phase)\t(cmd->transfersize)\n"
- " \n"
- " #define NCR5380_intr                    macscsi_intr\n"
- " #define NCR5380_queue_command           macscsi_queue_command\n"
- "Index: linux/drivers/scsi/pas16.h\n"
- "===================================================================\n"
- "--- linux.orig/drivers/scsi/pas16.h\t2016-01-03 16:02:56.000000000 +1100\n"
- "+++ linux/drivers/scsi/pas16.h\t2016-01-03 16:03:31.000000000 +1100\n"
- "@@ -110,6 +110,8 @@\n"
- " #define NCR5380_read(reg) ( inb(PAS16_io_port(reg)) )\n"
- " #define NCR5380_write(reg, value) ( outb((value),PAS16_io_port(reg)) )\n"
- " \n"
- "+#define NCR5380_dma_xfer_len(instance, cmd, phase)\t(cmd->transfersize)\n"
- "+\n"
- " #define NCR5380_intr pas16_intr\n"
- " #define NCR5380_queue_command pas16_queue_command\n"
- " #define NCR5380_abort pas16_abort\n"
- "Index: linux/drivers/scsi/t128.h\n"
- "===================================================================\n"
- "--- linux.orig/drivers/scsi/t128.h\t2016-01-03 16:02:56.000000000 +1100\n"
- "+++ linux/drivers/scsi/t128.h\t2016-01-03 16:03:31.000000000 +1100\n"
- "@@ -84,6 +84,8 @@\n"
- " #define NCR5380_read(reg) readb(T128_address(reg))\n"
- " #define NCR5380_write(reg, value) writeb((value),(T128_address(reg)))\n"
- " \n"
- "+#define NCR5380_dma_xfer_len(instance, cmd, phase)\t(cmd->transfersize)\n"
- "+\n"
- " #define NCR5380_intr t128_intr\n"
- " #define NCR5380_queue_command t128_queue_command\n"
-  #define NCR5380_abort t128_abort
+ "An embedded and charset-unspecified text was scrubbed...\n"
+ "Name: ncr5380-implement-NCR5380_dma_xfer_len\n"
+ URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160103/16314555/attachment.ksh>
 
-a7977f78ba363893a5221837299da3037645388729baf40c47e926beb59a959c
+28624f492f0a16a47a8fb4d797c311cd30ca0f0ad7d6a6c1328e02c012768928

diff --git a/a/content_digest b/N2/content_digest
index 582f01e..b66be55 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -5,9 +5,9 @@
  "To\0James E.J. Bottomley <JBottomley@odin.com>"
   Martin K. Petersen <martin.petersen@oracle.com>
   Michael Schmitz <schmitzmic@gmail.com>
-  linux-m68k@vger.kernel.org
-  linux-scsi@vger.kernel.org
-  linux-kernel@vger.kernel.org
+  <linux-m68k@vger.kernel.org>
+  <linux-scsi@vger.kernel.org>
+  <linux-kernel@vger.kernel.org>
   Russell King <linux@arm.linux.org.uk>
  " linux-arm-kernel@lists.infradead.org\0"
  "\00:1\0"
@@ -256,4 +256,4 @@
  " #define NCR5380_queue_command t128_queue_command\n"
   #define NCR5380_abort t128_abort
 
-a7977f78ba363893a5221837299da3037645388729baf40c47e926beb59a959c
+1ab9b7dfd0a15fc6d732dd31f995cf862f3b0f98e24ae4d4718d352df3ef979a

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.