diff for duplicates of <554D1274.70804@lenbrook.com> diff --git a/a/1.txt b/N1/1.txt index 88dcd3d..59437a1 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -76,3 +76,11 @@ Jonathan Bagg Embedded Systems Developer NAD Electronics | Lenbrook Industries Limited 633 Granite Court, Pickering, Ontario, Canada L1W 3K1 | 905-831-0799 ext 4478 | http://www.nadelectronics.com + +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: ata_debug.patch +Type: text/x-patch +Size: 1450 bytes +Desc: not available +URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150508/1aa9edc8/attachment.bin> diff --git a/a/2.hdr b/a/2.hdr deleted file mode 100644 index fa2784a..0000000 --- a/a/2.hdr +++ /dev/null @@ -1,3 +0,0 @@ -Content-Type: text/x-patch; name="ata_debug.patch" -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; filename="ata_debug.patch" diff --git a/a/2.txt b/a/2.txt deleted file mode 100644 index 27b3e86..0000000 --- a/a/2.txt +++ /dev/null @@ -1,45 +0,0 @@ -diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c -index 6abd17a..cb3a705 100644 ---- a/drivers/ata/libata-scsi.c -+++ b/drivers/ata/libata-scsi.c -@@ -2712,6 +2712,26 @@ static void atapi_qc_complete(struct ata_queued_cmd *qc) - } - - cmd->result = SAM_STAT_GOOD; -+ -+ if(1) -+ { -+ unsigned long flags; -+ u8 *buf, *scsicmd; -+ int len; -+ -+ buf = ata_scsi_rbuf_get(cmd, true, &flags); -+ len = scsi_bufflen(cmd); -+ scsicmd = cmd->cmnd; -+ -+ printk(KERN_INFO "CDB rbuf: [%02x %02x %02x %02x %02x %02x %02x %02x %02x]\n", -+ scsicmd[0], scsicmd[1], scsicmd[2], scsicmd[3], -+ scsicmd[4], scsicmd[5], scsicmd[6], scsicmd[7], -+ scsicmd[8]); -+ -+ print_hex_dump(KERN_INFO, "CDB rbuf: ", DUMP_PREFIX_OFFSET, 16, 1, buf, len, true); -+ -+ ata_scsi_rbuf_put(cmd, true, &flags); -+ } - } - - qc->scsidone(cmd); -diff --git a/include/linux/libata.h b/include/linux/libata.h -index 91f705d..4373982 100644 ---- a/include/linux/libata.h -+++ b/include/linux/libata.h -@@ -53,8 +53,8 @@ - * compile-time options: to be removed as soon as all the drivers are - * converted to the new debugging mechanism - */ --#undef ATA_DEBUG /* debugging output */ --#undef ATA_VERBOSE_DEBUG /* yet more debugging output */ -+#define ATA_DEBUG /* debugging output */ -+#define ATA_VERBOSE_DEBUG /* yet more debugging output */ - #undef ATA_IRQ_TRAP /* define to ack screaming irqs */ - #undef ATA_NDEBUG /* define to disable quick runtime checks */ diff --git a/a/content_digest b/N1/content_digest index 76d7c97..36a561b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,13 +2,11 @@ "ref\03757889.IHh7sEV0GH@wuerfel\0" "ref\05547DEA7.8080009@lenbrook.com\0" "ref\02901871.Bfl6KrJo7t@wuerfel\0" - "From\0Jonathan Bagg <jbagg@lenbrook.com>\0" - "Subject\0Re: imx6 sata cdrom driver issue\0" + "From\0jbagg@lenbrook.com (Jonathan Bagg)\0" + "Subject\0imx6 sata cdrom driver issue\0" "Date\0Fri, 8 May 2015 15:45:56 -0400\0" - "To\0Arnd Bergmann <arnd@arndb.de>" - " linux-arm-kernel@lists.infradead.org\0" - "Cc\0linux-ide@vger.kernel.org\0" - "\01:1\0" + "To\0linux-arm-kernel@lists.infradead.org\0" + "\00:1\0" "b\0" "On 15-05-05 06:48 AM, Arnd Bergmann wrote:\n" "> On Monday 04 May 2015 17:03:35 Jonathan Bagg wrote:\n" @@ -87,54 +85,14 @@ "Jonathan Bagg\n" "Embedded Systems Developer\n" "NAD Electronics | Lenbrook Industries Limited\n" - 633 Granite Court, Pickering, Ontario, Canada L1W 3K1 | 905-831-0799 ext 4478 | http://www.nadelectronics.com - "\01:2\0" - "fn\0ata_debug.patch\0" - "b\0" - "diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c\n" - "index 6abd17a..cb3a705 100644\n" - "--- a/drivers/ata/libata-scsi.c\n" - "+++ b/drivers/ata/libata-scsi.c\n" - "@@ -2712,6 +2712,26 @@ static void atapi_qc_complete(struct ata_queued_cmd *qc)\n" - " \t\t}\n" - " \n" - " \t\tcmd->result = SAM_STAT_GOOD;\n" - "+\n" - "+\t\tif(1)\n" - "+\t\t{\n" - "+\t\t\tunsigned long flags;\n" - "+\t\t\tu8 *buf, *scsicmd;\n" - "+\t\t\tint len;\n" - "+\n" - "+\t\t\tbuf = ata_scsi_rbuf_get(cmd, true, &flags);\n" - "+\t\t\tlen = scsi_bufflen(cmd);\n" - "+\t\t\tscsicmd = cmd->cmnd;\n" - "+\n" - "+\t\t\tprintk(KERN_INFO \"CDB rbuf: [%02x %02x %02x %02x %02x %02x %02x %02x %02x]\\n\",\n" - "+\t\t\t\tscsicmd[0], scsicmd[1], scsicmd[2], scsicmd[3],\n" - "+\t\t\t\tscsicmd[4], scsicmd[5], scsicmd[6], scsicmd[7],\n" - "+\t\t\t\tscsicmd[8]);\n" - "+\n" - "+\t\t\tprint_hex_dump(KERN_INFO, \"CDB rbuf: \", DUMP_PREFIX_OFFSET, 16, 1, buf, len, true);\n" - "+\n" - "+\t\t\tata_scsi_rbuf_put(cmd, true, &flags);\n" - "+\t\t}\n" - " \t}\n" - " \n" - " \tqc->scsidone(cmd);\n" - "diff --git a/include/linux/libata.h b/include/linux/libata.h\n" - "index 91f705d..4373982 100644\n" - "--- a/include/linux/libata.h\n" - "+++ b/include/linux/libata.h\n" - "@@ -53,8 +53,8 @@\n" - " * compile-time options: to be removed as soon as all the drivers are\n" - " * converted to the new debugging mechanism\n" - " */\n" - "-#undef ATA_DEBUG\t\t/* debugging output */\n" - "-#undef ATA_VERBOSE_DEBUG\t/* yet more debugging output */\n" - "+#define ATA_DEBUG\t\t/* debugging output */\n" - "+#define ATA_VERBOSE_DEBUG\t/* yet more debugging output */\n" - " #undef ATA_IRQ_TRAP\t\t/* define to ack screaming irqs */\n" - " #undef ATA_NDEBUG\t\t/* define to disable quick runtime checks */" + "633 Granite Court, Pickering, Ontario, Canada L1W 3K1 | 905-831-0799 ext 4478 | http://www.nadelectronics.com\n" + "\n" + "-------------- next part --------------\n" + "A non-text attachment was scrubbed...\n" + "Name: ata_debug.patch\n" + "Type: text/x-patch\n" + "Size: 1450 bytes\n" + "Desc: not available\n" + URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150508/1aa9edc8/attachment.bin> -2990c6917c5e8855793b67e138765d6fa5e64a11701b629ef731f9174d13e4b8 +c5097137db9af83fb0d649294cd0f5b7b04a83861e00b8bae2ee74992cd3fc6a
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.