* better
[mascara-docs.git] / i386 / linux-2.3.21 / drivers / block / Config.in
blobc23b8d094b4c0292d885b5a0d6d697bb60acbe4e
2 # Block device driver configuration
4 mainmenu_option next_comment
5 comment 'Block devices'
7 tristate 'Normal PC floppy disk support' CONFIG_BLK_DEV_FD
8 if [ "$CONFIG_AMIGA" = "y" ]; then
9    tristate 'Amiga floppy support' CONFIG_AMIGA_FLOPPY
11 if [ "$CONFIG_ATARI" = "y" ]; then
12    tristate 'Atari floppy support' CONFIG_ATARI_FLOPPY
14 if [ "$CONFIG_MAC" = "y" ]; then
15    if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
16       bool 'Macintosh IIfx/Quadra 900/Quadra 950 floppy support (EXPERIMENTAL)' CONFIG_BLK_DEV_SWIM_IOP
17    fi
20 tristate 'Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support' CONFIG_BLK_DEV_IDE
21 comment 'Please see Documentation/ide.txt for help/info on IDE drives'
22 if [ "$CONFIG_BLK_DEV_IDE" = "n" ]; then
23    bool 'Old hard disk (MFM/RLL/IDE) driver' CONFIG_BLK_DEV_HD_ONLY
24 else
25    bool '  Use old disk-only driver on primary interface' CONFIG_BLK_DEV_HD_IDE
26    dep_tristate '  Include IDE/ATA-2 DISK support' CONFIG_BLK_DEV_IDEDISK $CONFIG_BLK_DEV_IDE
27    if [ "$CONFIG_BLK_DEV_IDEDISK" != "n" ]; then
28       bool '    Use multi-mode by default' CONFIG_IDEDISK_MULTI_MODE
29    fi
30    dep_tristate '  Include IDE/ATAPI CDROM support' CONFIG_BLK_DEV_IDECD $CONFIG_BLK_DEV_IDE
31    dep_tristate '  Include IDE/ATAPI TAPE support' CONFIG_BLK_DEV_IDETAPE $CONFIG_BLK_DEV_IDE
32    dep_tristate '  Include IDE/ATAPI FLOPPY support' CONFIG_BLK_DEV_IDEFLOPPY $CONFIG_BLK_DEV_IDE
33    dep_tristate '  SCSI emulation support' CONFIG_BLK_DEV_IDESCSI $CONFIG_BLK_DEV_IDE
34    comment 'IDE chipset support/bugfixes'
35    if [ "$CONFIG_BLK_DEV_IDE" != "n" ]; then
36       bool '  CMD640 chipset bugfix/support' CONFIG_BLK_DEV_CMD640
37       if [ "$CONFIG_BLK_DEV_CMD640" = "y" ]; then
38          bool '    CMD640 enhanced support' CONFIG_BLK_DEV_CMD640_ENHANCED
39       fi
40       if [ "$CONFIG_PCI" = "y" ]; then
41          bool '  RZ1000 chipset bugfix/support' CONFIG_BLK_DEV_RZ1000
42          bool '  Generic PCI IDE chipset support' CONFIG_BLK_DEV_IDEPCI
43          if [ "$CONFIG_BLK_DEV_IDEPCI" = "y" ]; then
44             bool '    Generic PCI bus-master DMA support' CONFIG_BLK_DEV_IDEDMA_PCI
45             if [ "$CONFIG_BLK_DEV_IDEDMA_PCI" = "y" ]; then
46                bool '      Use PCI DMA by default when available' CONFIG_IDEDMA_PCI_AUTO
47                if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
48                   bool '      Good-Bad DMA Model-Firmware (EXPERIMENTAL)' CONFIG_IDEDMA_NEW_DRIVE_LISTINGS
49                   define_bool CONFIG_IDEDMA_PCI_EXPERIMENTAL y
50                else
51                   define_bool CONFIG_IDEDMA_PCI_EXPERIMENTAL n
52                fi
53             fi
54             bool '    Boot off-board chipsets first support' CONFIG_BLK_DEV_OFFBOARD
55             bool '    AEC6210 chipset support' CONFIG_BLK_DEV_AEC6210
56             if [ "$CONFIG_IDEDMA_PCI_EXPERIMENTAL" = "y" ]; then
57                if [ "$CONFIG_X86" = "y" ]; then
58                   bool '    ALI M15x3 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_ALI15X3
59                fi
60                bool '    CMD646 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_CMD646
61                bool '    CY82C693 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_CY82C693
62             fi
63             if [ "$CONFIG_BLK_DEV_IDEDMA_PCI" = "y" ]; then
64                bool '    HPT34X chipset support' CONFIG_BLK_DEV_HPT34X
65                if [ "$CONFIG_IDEDMA_PCI_EXPERIMENTAL" = "y" -a \
66                      "$CONFIG_BLK_DEV_HPT34X" = "y" ]; then
67                bool '      HPT34X DMA support (DANGEROUS)' CONFIG_BLK_DEV_HPT34X_DMA
68                fi
69                bool '    HPT366 chipset support' CONFIG_BLK_DEV_HPT366
70             fi
71             if [ "$CONFIG_X86" = "y" ]; then
72                bool '    Intel PIIXn chipsets support' CONFIG_BLK_DEV_PIIX
73                if [ "$CONFIG_IDEDMA_PCI_EXPERIMENTAL" = "y" -a \
74                     "$CONFIG_BLK_DEV_PIIX" = "y" ]; then
75                   bool '      PIIXn Tuning support (EXPERIMENTAL)' CONFIG_BLK_DEV_PIIX_TUNING
76                fi
77             fi
78             if [ "$CONFIG_IDEDMA_PCI_EXPERIMENTAL" = "y" ]; then
79                bool '    NS87415 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_NS87415
80             fi
81             if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
82                bool '    OPTi 82C621 chipset enhanced support (EXPERIMENTAL)' CONFIG_BLK_DEV_OPTI621
83             fi
84             if [ "$CONFIG_BLK_DEV_IDEDMA_PCI" = "y" ]; then
85                bool '    PROMISE PDC20246/PDC20262 support' CONFIG_BLK_DEV_PDC202XX
86                if [ "$CONFIG_EXPERIMENTAL" = "y" -a \
87                     "$CONFIG_BLK_DEV_PDC202XX" = "y" ]; then
88                   bool '      Special UDMA Feature (EXPERIMENTAL)' CONFIG_PDC202XX_FORCE_BURST_BIT
89                   bool '      Special Mode Feature (DANGEROUS)' CONFIG_PDC202XX_FORCE_MASTER_MODE
90                fi
91             fi
92             if [ "$CONFIG_X86" = "y" ]; then
93                bool '    SiS5513 chipset support' CONFIG_BLK_DEV_SIS5513
94             fi
95             if [ "$CONFIG_IDEDMA_PCI_EXPERIMENTAL" = "y" ]; then
96                bool '    Tekram TRM290 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_TRM290
97                if [ "$CONFIG_X86" = "y" ]; then
98                   bool '     VIA82C586 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_VIA82C586
99                fi
100             fi
101          fi
102          if [ "$CONFIG_PPC" = "y" -o "$CONFIG_ARM" = "y" ]; then
103             bool '    Winbond SL82c105 support' CONFIG_BLK_DEV_SL82C105
104          fi
105       fi
106       if [ "$CONFIG_PMAC" = "y" -o "$CONFIG_ALL_PPC" = "y" ]; then
107          bool '    Builtin PowerMac IDE support' CONFIG_BLK_DEV_IDE_PMAC
108          if [ "$CONFIG_BLK_DEV_IDE_PMAC" != "n" ]; then
109             bool '      PowerMac IDE DMA support' CONFIG_BLK_DEV_IDEDMA_PMAC
110             if [ "$CONFIG_BLK_DEV_IDEDMA_PMAC" = "y" ]; then
111                bool '        Use DMA by default' CONFIG_IDEDMA_PMAC_AUTO
112             fi
113          fi
114       fi
115       if [ "$CONFIG_ARCH_ACORN" = "y" ]; then
116          bool '    ICS IDE interface support' CONFIG_BLK_DEV_IDE_ICSIDE
117          if [ "$CONFIG_BLK_DEV_IDE_ICSIDE" = "y" ]; then
118             bool '      ICS DMA support' CONFIG_BLK_DEV_IDEDMA_ICS
119             if [ "$CONFIG_BLK_DEV_IDEDMA_ICS" = "y" ]; then
120                bool '        Use ICS DMA by default' CONFIG_IDEDMA_ICS_AUTO
121             fi
122          fi
123          bool '    RapIDE interface support' CONFIG_BLK_DEV_IDE_RAPIDE
124       fi
125       if [ "$CONFIG_BLK_DEV_IDEDMA_PCI" = "y" -o \
126            "$CONFIG_BLK_DEV_IDEDMA_PMAC" = "y" -o \
127            "$CONFIG_BLK_DEV_IDEDMA_ICS" = "y" ]; then
128          define_bool CONFIG_BLK_DEV_IDEDMA y
129          if [ "$CONFIG_IDEDMA_PCI_AUTO" = "y" -o \
130               "$CONFIG_IDEDMA_PMAC_AUTO" = "y" -o \
131               "$CONFIG_IDEDMA_ICS_AUTO" = "y" ]; then
132             define_bool CONFIG_IDEDMA_AUTO y
133          fi
134       fi
135       bool '  Other IDE chipset support' CONFIG_IDE_CHIPSETS
136       if [ "$CONFIG_IDE_CHIPSETS" = "y" ]; then
137          comment 'Note: most of these also require special kernel boot parameters'
138          bool '    Generic 4 drives/port support' CONFIG_BLK_DEV_4DRIVES
139          bool '    ALI M14xx support' CONFIG_BLK_DEV_ALI14XX
140          bool '    DTC-2278 support' CONFIG_BLK_DEV_DTC2278
141          bool '    Holtek HT6560B support' CONFIG_BLK_DEV_HT6560B
142          if [ "$CONFIG_BLK_DEV_IDEDISK" = "y" -a \
143               "$CONFIG_EXPERIMENTAL" = "y" ]; then
144             bool '    PROMISE DC4030 support (EXPERIMENTAL)' CONFIG_BLK_DEV_PDC4030
145          fi
146          bool '    QDI QD6580 support' CONFIG_BLK_DEV_QD6580
147          bool '    UMC-8672 support' CONFIG_BLK_DEV_UMC8672
148       fi
149       if [ "$CONFIG_AMIGA" = "y" ]; then
150          bool '    Amiga Gayle IDE interface support' CONFIG_BLK_DEV_GAYLE
151          if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
152             dep_tristate '      Amiga IDE Doubler support (EXPERIMENTAL)' CONFIG_BLK_DEV_IDEDOUBLER $CONFIG_BLK_DEV_GAYLE
153          fi
154       fi
155       if [ "$CONFIG_ZORRO" = "y" -a "$CONFIG_EXPERIMENTAL" = "y" ]; then
156          bool '    Buddha/Catweasel IDE interface support (EXPERIMENTAL)' CONFIG_BLK_DEV_BUDDHA
157       fi
158       if [ "$CONFIG_ATARI" = "y" ]; then
159          bool '    Falcon IDE interface support' CONFIG_BLK_DEV_FALCON_IDE
160       fi
161       if [ "$CONFIG_MAC" = "y" ]; then
162          bool '    Macintosh Quadra/Powerbook IDE interface support' CONFIG_BLK_DEV_MAC_IDE
163       fi
164    fi
166 if [ "$CONFIG_MCA" = "y" ]; then
167    tristate 'PS/2 ESDI hard disk support' CONFIG_BLK_DEV_PS2
169 if [ "$CONFIG_ZORRO" = "y" ]; then
170    tristate 'Amiga Zorro II ramdisk support' CONFIG_AMIGA_Z2RAM
172 if [ "$CONFIG_ATARI" = "y" ]; then
173    tristate 'Atari ACSI support' CONFIG_ATARI_ACSI
174    if [ "$CONFIG_ATARI_ACSI" != "n" ]; then
175       comment 'Some devices (e.g. CD jukebox) support multiple LUNs'
176       bool '  Probe all LUNs on each ACSI device' CONFIG_ACSI_MULTI_LUN
177       tristate '  Atari SLM laser printer support' CONFIG_ATARI_SLM
178    fi
180 if [ "$CONFIG_PCI" = "y" ]; then
181    tristate 'Compaq SMART2 support' CONFIG_BLK_CPQ_DA
184 comment 'Additional Block Devices'
186 tristate 'Loopback device support' CONFIG_BLK_DEV_LOOP
187 if [ "$CONFIG_NET" = "y" ]; then
188    tristate 'Network block device support' CONFIG_BLK_DEV_NBD
190 bool 'Multiple devices driver support' CONFIG_BLK_DEV_MD
191 if [ "$CONFIG_BLK_DEV_MD" = "y" ]; then
192    tristate '  Linear (append) mode' CONFIG_MD_LINEAR
193    tristate '  RAID-0 (striping) mode' CONFIG_MD_STRIPED
194    tristate '  RAID-1 (mirroring) mode' CONFIG_MD_MIRRORING
195    tristate '  RAID-4/RAID-5 mode' CONFIG_MD_RAID5
197 if [ "$CONFIG_MD_LINEAR" = "y" -o "$CONFIG_MD_STRIPED" = "y" ]; then
198    bool '    Boot support (linear, striped)' CONFIG_MD_BOOT
200 tristate 'RAM disk support' CONFIG_BLK_DEV_RAM
201 if [ "$CONFIG_BLK_DEV_RAM" = "y" ]; then
202    bool '  Initial RAM disk (initrd) support' CONFIG_BLK_DEV_INITRD
204 tristate 'XT hard disk support' CONFIG_BLK_DEV_XD
206 # PARIDE doesn't need PARPORT, but if PARPORT is configured as a module,
207 # PARIDE must also be a module.  The bogus CONFIG_PARIDE_PARPORT option
208 # controls the choices given to the user ...
210 if [ "$CONFIG_PARPORT" = "y" -o "$CONFIG_PARPORT" = "n" ]; then
211    define_bool CONFIG_PARIDE_PARPORT y
212 else
213    define_bool CONFIG_PARIDE_PARPORT m
215 dep_tristate 'Parallel port IDE device support' CONFIG_PARIDE $CONFIG_PARIDE_PARPORT
216 if [ "$CONFIG_PARIDE" = "y" -o "$CONFIG_PARIDE" = "m" ]; then
217    source drivers/block/paride/Config.in
220 if [ "$CONFIG_IDE_CHIPSETS" = "y" -o \
221      "$CONFIG_BLK_DEV_ALI15X3" = "y" -o \
222      "$CONFIG_BLK_DEV_CMD640" = "y" -o \
223      "$CONFIG_BLK_DEV_CY82C693" = "y" -o \
224      "$CONFIG_BLK_DEV_HPT34X" = "y" -o \
225      "$CONFIG_BLK_DEV_HPT366" = "y" -o \
226      "$CONFIG_BLK_DEV_IDE_PMAC" = "y" -o \
227      "$CONFIG_BLK_DEV_OPTI621" = "y" -o \
228      "$CONFIG_BLK_DEV_PIIX" = "y" -o \
229      "$CONFIG_BLK_DEV_SIS5513" = "y" -o \
230      "$CONFIG_BLK_DEV_SL82C105" = "y" ]; then
231    define_bool CONFIG_BLK_DEV_IDE_MODES y
232 else
233    define_bool CONFIG_BLK_DEV_IDE_MODES n
236 if [ "$CONFIG_BLK_DEV_HD_IDE" = "y" -o "$CONFIG_BLK_DEV_HD_ONLY" = "y" ]; then
237    define_bool CONFIG_BLK_DEV_HD y
238 else
239    define_bool CONFIG_BLK_DEV_HD n
242 endmenu