summaryrefslogtreecommitdiff
path: root/drivers/scsi/imm.h
diff options
context:
space:
mode:
authorAlex Henrie <alexhenrie24@gmail.com>2023-08-31 08:23:48 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2023-09-14 04:11:55 +0300
commitb0597fd5a953833399bbb6be55337dd655060143 (patch)
treebcbbb91122f432b979b27687832959679fadd8f3 /drivers/scsi/imm.h
parent1345a7d909a3c2bcb588667c676a44cb6176b64a (diff)
downloadlinux-b0597fd5a953833399bbb6be55337dd655060143.tar.xz
scsi: imm: Add a module parameter for the transfer mode
Fix in the imm driver the same problem that was fixed in the ppa driver by commit 68a4f84a17c1 ("scsi: ppa: Add a module parameter for the transfer mode"). Tested and confirmed working with an Iomega Z250P zip drive and a StarTech PEX1P2 AX99100 PCIe parallel port. Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Link: https://lore.kernel.org/r/20230831054620.515611-1-alexhenrie24@gmail.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/imm.h')
-rw-r--r--drivers/scsi/imm.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/imm.h b/drivers/scsi/imm.h
index 411cf94af5b0..398fa5b15181 100644
--- a/drivers/scsi/imm.h
+++ b/drivers/scsi/imm.h
@@ -100,11 +100,7 @@ static char *IMM_MODE_STRING[] =
[IMM_PS2] = "PS/2",
[IMM_EPP_8] = "EPP 8 bit",
[IMM_EPP_16] = "EPP 16 bit",
-#ifdef CONFIG_SCSI_IZIP_EPP16
- [IMM_EPP_32] = "EPP 16 bit",
-#else
[IMM_EPP_32] = "EPP 32 bit",
-#endif
[IMM_UNKNOWN] = "Unknown",
};