Skip to content

Commit 72f2b0b

Browse files
Ondrej ZaryDamien Le Moal
authored andcommitted
drivers/block: Move PARIDE protocol modules to drivers/ata/pata_parport
Move PARIDE protocol modules out of drivers/block into drivers/ata/pata_parport and update the CONFIG_ symbol names to PATA_PARPORT. [Damien] The pata_parport driver file itsef is also moved together with the protocol modules in drivers/ata/pata_parport. Signed-off-by: Ondrej Zary <[email protected]> Acked-by: Jens Axboe <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
1 parent 7750d8b commit 72f2b0b

File tree

25 files changed

+162
-241
lines changed

25 files changed

+162
-241
lines changed

drivers/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ obj-$(CONFIG_DIO) += dio/
9898
obj-$(CONFIG_SBUS) += sbus/
9999
obj-$(CONFIG_ZORRO) += zorro/
100100
obj-$(CONFIG_ATA_OVER_ETH) += block/aoe/
101-
obj-y += block/paride/
102101
obj-$(CONFIG_TC) += tc/
103102
obj-$(CONFIG_USB_PHY) += usb/
104103
obj-$(CONFIG_USB) += usb/

drivers/ata/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ config PATA_PARPORT
11741174
Read <file:Documentation/admin-guide/blockdev/paride.rst> for more
11751175
information.
11761176

1177-
Use the old PARIDE protocol modules.
1177+
source "drivers/ata/pata_parport/Kconfig"
11781178

11791179
comment "Generic fallback / legacy drivers"
11801180

drivers/ata/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ obj-$(CONFIG_PATA_SAMSUNG_CF) += pata_samsung_cf.o
114114

115115
obj-$(CONFIG_PATA_PXA) += pata_pxa.o
116116

117-
obj-$(CONFIG_PATA_PARPORT) += pata_parport.o
117+
obj-$(CONFIG_PATA_PARPORT) += pata_parport/
118118

119119
# Should be last but two libata driver
120120
obj-$(CONFIG_PATA_ACPI) += pata_acpi.o

drivers/ata/pata_parport/Kconfig

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
3+
comment "Parallel IDE protocol modules"
4+
depends on PATA_PARPORT
5+
6+
config PATA_PARPORT_ATEN
7+
tristate "ATEN EH-100 protocol"
8+
depends on PATA_PARPORT
9+
help
10+
This option enables support for the ATEN EH-100 parallel port IDE
11+
protocol. This protocol is used in some inexpensive low performance
12+
parallel port kits made in Hong Kong.
13+
14+
config PATA_PARPORT_BPCK
15+
tristate "MicroSolutions backpack (Series 5) protocol"
16+
depends on PATA_PARPORT
17+
help
18+
This option enables support for the Micro Solutions BACKPACK
19+
parallel port Series 5 IDE protocol. (Most BACKPACK drives made
20+
before 1999 were Series 5) Series 5 drives will NOT always have the
21+
Series noted on the bottom of the drive. Series 6 drivers will.
22+
23+
In other words, if your BACKPACK drive doesn't say "Series 6" on the
24+
bottom, enable this option.
25+
26+
config PATA_PARPORT_BPCK6
27+
tristate "MicroSolutions backpack (Series 6) protocol"
28+
depends on (PATA_PARPORT) && !64BIT
29+
help
30+
This option enables support for the Micro Solutions BACKPACK
31+
parallel port Series 6 IDE protocol. (Most BACKPACK drives made
32+
after 1999 were Series 6) Series 6 drives will have the Series noted
33+
on the bottom of the drive. Series 5 drivers don't always have it
34+
noted.
35+
36+
In other words, if your BACKPACK drive says "Series 6" on the
37+
bottom, enable this option.
38+
39+
config PATA_PARPORT_COMM
40+
tristate "DataStor Commuter protocol"
41+
depends on PATA_PARPORT
42+
help
43+
This option enables support for the Commuter parallel port IDE
44+
protocol from DataStor.
45+
46+
config PATA_PARPORT_DSTR
47+
tristate "DataStor EP-2000 protocol"
48+
depends on PATA_PARPORT
49+
help
50+
This option enables support for the EP-2000 parallel port IDE
51+
protocol from DataStor
52+
53+
config PATA_PARPORT_FIT2
54+
tristate "FIT TD-2000 protocol"
55+
depends on PATA_PARPORT
56+
help
57+
This option enables support for the TD-2000 parallel port IDE
58+
protocol from Fidelity International Technology. This is a simple
59+
(low speed) adapter that is used in some portable hard drives.
60+
61+
config PATA_PARPORT_FIT3
62+
tristate "FIT TD-3000 protocol"
63+
depends on PATA_PARPORT
64+
help
65+
This option enables support for the TD-3000 parallel port IDE
66+
protocol from Fidelity International Technology. This protocol is
67+
used in newer models of their portable disk, CD-ROM and PD/CD
68+
devices.
69+
70+
config PATA_PARPORT_EPAT
71+
tristate "Shuttle EPAT/EPEZ protocol"
72+
depends on PATA_PARPORT
73+
help
74+
This option enables support for the EPAT parallel port IDE protocol.
75+
EPAT is a parallel port IDE adapter manufactured by Shuttle
76+
Technology and widely used in devices from major vendors such as
77+
Hewlett-Packard, SyQuest, Imation and Avatar.
78+
79+
config PATA_PARPORT_EPATC8
80+
bool "Support c7/c8 chips"
81+
depends on PATA_PARPORT_EPAT
82+
help
83+
This option enables support for the newer Shuttle EP1284 (aka c7 and
84+
c8) chip. You need this if you are using any recent Imation SuperDisk
85+
(LS-120) drive.
86+
87+
config PATA_PARPORT_EPIA
88+
tristate "Shuttle EPIA protocol"
89+
depends on PATA_PARPORT
90+
help
91+
This option enables support for the (obsolete) EPIA parallel port
92+
IDE protocol from Shuttle Technology. This adapter can still be
93+
found in some no-name kits.
94+
95+
config PATA_PARPORT_FRIQ
96+
tristate "Freecom IQ ASIC-2 protocol"
97+
depends on PATA_PARPORT
98+
help
99+
This option enables support for version 2 of the Freecom IQ parallel
100+
port IDE adapter. This adapter is used by the Maxell Superdisk
101+
drive.
102+
103+
config PATA_PARPORT_FRPW
104+
tristate "FreeCom power protocol"
105+
depends on PATA_PARPORT
106+
help
107+
This option enables support for the Freecom power parallel port IDE
108+
protocol.
109+
110+
config PATA_PARPORT_KBIC
111+
tristate "KingByte KBIC-951A/971A protocols"
112+
depends on PATA_PARPORT
113+
help
114+
This option enables support for the KBIC-951A and KBIC-971A parallel
115+
port IDE protocols from KingByte Information Corp. KingByte's
116+
adapters appear in many no-name portable disk and CD-ROM products,
117+
especially in Europe.
118+
119+
config PATA_PARPORT_KTTI
120+
tristate "KT PHd protocol"
121+
depends on PATA_PARPORT
122+
help
123+
This option enables support for the "PHd" parallel port IDE protocol
124+
from KT Technology. This is a simple (low speed) adapter that is
125+
used in some 2.5" portable hard drives.
126+
127+
config PATA_PARPORT_ON20
128+
tristate "OnSpec 90c20 protocol"
129+
depends on PATA_PARPORT
130+
help
131+
This option enables support for the (obsolete) 90c20 parallel port
132+
IDE protocol from OnSpec (often marketed under the ValuStore brand
133+
name).
134+
135+
config PATA_PARPORT_ON26
136+
tristate "OnSpec 90c26 protocol"
137+
depends on PATA_PARPORT
138+
help
139+
This option enables support for the 90c26 parallel port IDE protocol
140+
from OnSpec Electronics (often marketed under the ValuStore brand
141+
name).

drivers/ata/pata_parport/Makefile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
3+
obj-$(CONFIG_PATA_PARPORT) += pata_parport.o
4+
5+
obj-$(CONFIG_PATA_PARPORT_ATEN) += aten.o
6+
obj-$(CONFIG_PATA_PARPORT_BPCK) += bpck.o
7+
obj-$(CONFIG_PATA_PARPORT_COMM) += comm.o
8+
obj-$(CONFIG_PATA_PARPORT_DSTR) += dstr.o
9+
obj-$(CONFIG_PATA_PARPORT_KBIC) += kbic.o
10+
obj-$(CONFIG_PATA_PARPORT_EPAT) += epat.o
11+
obj-$(CONFIG_PATA_PARPORT_EPIA) += epia.o
12+
obj-$(CONFIG_PATA_PARPORT_FRPW) += frpw.o
13+
obj-$(CONFIG_PATA_PARPORT_FRIQ) += friq.o
14+
obj-$(CONFIG_PATA_PARPORT_FIT2) += fit2.o
15+
obj-$(CONFIG_PATA_PARPORT_FIT3) += fit3.o
16+
obj-$(CONFIG_PATA_PARPORT_ON20) += on20.o
17+
obj-$(CONFIG_PATA_PARPORT_ON26) += on26.o
18+
obj-$(CONFIG_PATA_PARPORT_KTTI) += ktti.o
19+
obj-$(CONFIG_PATA_PARPORT_BPCK6) += bpck6.o
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)