Import 2.3.9pre5
[davej-history.git] / drivers / block / Config.in
blob0e73f0c65a43b1596733075e2f19f844e6237e71
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
15 tristate 'Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support' CONFIG_BLK_DEV_IDE
16 comment 'Please see Documentation/ide.txt for help/info on IDE drives'
17 if [ "$CONFIG_BLK_DEV_IDE" = "n" ]; then
18   bool 'Old hard disk (MFM/RLL/IDE) driver' CONFIG_BLK_DEV_HD_ONLY
19 else
20   bool '   Use old disk-only driver on primary interface' CONFIG_BLK_DEV_HD_IDE
21   dep_tristate '   Include IDE/ATA-2 DISK support' CONFIG_BLK_DEV_IDEDISK $CONFIG_BLK_DEV_IDE
22   if [ "$CONFIG_BLK_DEV_IDEDISK" != "n" ]; then
23     bool '     Use multi-mode by default' CONFIG_IDEDISK_MULTI_MODE
24   fi
25   dep_tristate '   Include IDE/ATAPI CDROM support' CONFIG_BLK_DEV_IDECD $CONFIG_BLK_DEV_IDE
26   if [ "$CONFIG_BLK_DEV_IDECD" = "y" ]; then
27     bool '     Include CD-Changer Reporting' CONFIG_IDECD_SLOTS
28   fi
29   dep_tristate '   Include IDE/ATAPI TAPE support' CONFIG_BLK_DEV_IDETAPE $CONFIG_BLK_DEV_IDE
30   dep_tristate '   Include IDE/ATAPI FLOPPY support' CONFIG_BLK_DEV_IDEFLOPPY $CONFIG_BLK_DEV_IDE
31   dep_tristate '   SCSI emulation support' CONFIG_BLK_DEV_IDESCSI $CONFIG_BLK_DEV_IDE
32   if [ "$CONFIG_BLK_DEV_IDE" != "n" ]; then
33     bool '   CMD640 chipset bugfix/support' CONFIG_BLK_DEV_CMD640
34     if [ "$CONFIG_BLK_DEV_CMD640" = "y" ]; then
35       bool '     CMD640 enhanced support' CONFIG_BLK_DEV_CMD640_ENHANCED
36     fi
37     if [ "$CONFIG_PCI" = "y" ]; then
38       bool '   RZ1000 chipset bugfix/support' CONFIG_BLK_DEV_RZ1000
39       bool '   Generic PCI IDE chipset support' CONFIG_BLK_DEV_IDEPCI
40       if [ "$CONFIG_BLK_DEV_IDEPCI" = "y" ]; then
41         bool '     Generic PCI bus-master DMA support' CONFIG_BLK_DEV_IDEDMA_PCI
42         if [ "$CONFIG_BLK_DEV_IDEDMA_PCI" = "y" ]; then
43           bool '     Use PCI DMA by default when available' CONFIG_IDEDMA_PCI_AUTO
44         fi
45         bool '     Boot off-board chipsets first support' CONFIG_BLK_DEV_OFFBOARD
46         bool '     AEC6210 chipset support' CONFIG_BLK_DEV_AEC6210
47         if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
48           bool '     OPTi 82C621 chipset enhanced support (EXPERIMENTAL)' CONFIG_BLK_DEV_OPTI621
49           bool '     Intel PIIXn chipsets support (EXPERIMENTAL)' CONFIG_BLK_DEV_PIIX
50           if [ "$CONFIG_BLK_DEV_IDEDMA_PCI" = "y" ]; then
51             bool '     Tekram TRM290 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_TRM290
52             bool '     NS87415 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_NS87415
53             bool '     VIA82C586 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_VIA82C586
54             bool '     CMD646 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_CMD646
55             bool '     ALI M15x3 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_ALI15X3
56             bool '     CY82C693 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_CY82C693
57             bool '     PDC20246 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_PDC20246
58             bool '     PDC20262 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_PDC20262
59             if [ "$CONFIG_BLK_DEV_PDC20246" = "y" -o \
60                  "$CONFIG_BLK_DEV_PDC20262" = "y" ]; then
61               define_bool CONFIG_BLK_DEV_PDC202XX y
62             else
63               define_bool CONFIG_BLK_DEV_PDC202XX n
64             fi
65             bool '     HPT343 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_HPT343
66           fi
67         fi
68       fi
69       if [ "$CONFIG_PPC" = "y" -o "$CONFIG_ARM" = "y" ]; then
70           bool '   Winbond SL82c105 support' CONFIG_BLK_DEV_SL82C105
71       fi
72     fi
73     if [ "$CONFIG_PMAC" = "y" -o "$CONFIG_ALL_PPC" = "y" ]; then
74       bool '   Builtin PowerMac IDE support' CONFIG_BLK_DEV_IDE_PMAC
75         if [ "$CONFIG_BLK_DEV_IDE_PMAC" != "n" ]; then
76           bool '     PowerMac IDE DMA support' CONFIG_BLK_DEV_IDEDMA_PMAC
77           if [ "$CONFIG_BLK_DEV_IDEDMA_PMAC" = "y" ]; then
78             bool '     Use DMA by default' CONFIG_IDEDMA_PMAC_AUTO
79           fi
80        fi
81     fi
82     if [ "$CONFIG_ARCH_ACORN" = "y" ]; then
83         bool '   ICS IDE interface support' CONFIG_BLK_DEV_IDE_ICSIDE
84         if [ "$CONFIG_BLK_DEV_IDE_ICSIDE" = "y" ]; then
85           bool '     ICS DMA support' CONFIG_BLK_DEV_IDEDMA_ICS
86           if [ "$CONFIG_BLK_DEV_IDEDMA_ICS" = "y" ]; then
87             bool '     Use ICS DMA by default' CONFIG_IDEDMA_ICS_AUTO
88           fi
89         fi
90         bool '   RapIDE interface support' CONFIG_BLK_DEV_IDE_RAPIDE
91     fi
92     if [ "$CONFIG_BLK_DEV_IDEDMA_PCI" = "y" -o \
93          "$CONFIG_BLK_DEV_IDEDMA_PMAC" = "y" -o \
94          "$CONFIG_BLK_DEV_IDEDMA_ICS" = "y" ]; then
95       define_bool CONFIG_BLK_DEV_IDEDMA y
96       if [ "$CONFIG_IDEDMA_PCI_AUTO" = "y" -o \
97            "$CONFIG_IDEDMA_PMAC_AUTO" = "y" -o \
98            "$CONFIG_IDEDMA_ICS_AUTO" = "y" ]; then
99         define_bool CONFIG_IDEDMA_AUTO y
100       fi
101     fi
102     bool '   Other IDE chipset support' CONFIG_IDE_CHIPSETS
103     if [ "$CONFIG_IDE_CHIPSETS" = "y" ]; then
104       comment 'Note: most of these also require special kernel boot parameters'
105       bool '     Generic 4 drives/port support' CONFIG_BLK_DEV_4DRIVES
106       bool '     ALI M14xx support' CONFIG_BLK_DEV_ALI14XX
107       bool '     DTC-2278 support' CONFIG_BLK_DEV_DTC2278
108       bool '     Holtek HT6560B support' CONFIG_BLK_DEV_HT6560B
109       bool '     QDI QD6580 support' CONFIG_BLK_DEV_QD6580
110       bool '     UMC-8672 support' CONFIG_BLK_DEV_UMC8672
111       if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
112         if [ "$CONFIG_BLK_DEV_IDEDISK" = "y" ]; then
113           bool '     PROMISE DC4030 support (EXPERIMENTAL)' CONFIG_BLK_DEV_PDC4030
114         fi
115       fi
116     fi
117     if [ "$CONFIG_AMIGA" = "y" ]; then
118       bool '   Amiga Gayle IDE interface support' CONFIG_BLK_DEV_GAYLE
119       if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
120         bool '   Amiga IDE Doubler support' CONFIG_BLK_DEV_IDEDOUBLER $CONFIG_BLK_DEV_GAYLE
121       fi
122     fi
123     if [ "$CONFIG_ZORRO" = "y" -a "$CONFIG_EXPERIMENTAL" = "y" ]; then
124         bool '   Buddha/Catweasel IDE interface support' CONFIG_BLK_DEV_BUDDHA
125     fi
126     if [ "$CONFIG_ATARI" = "y" ]; then
127       bool '   Falcon IDE interface support' CONFIG_BLK_DEV_FALCON_IDE
128     fi
129     if [ "$CONFIG_MAC" = "y" ]; then
130       bool '   Macintosh Quadra/Powerbook IDE interface support' CONFIG_BLK_DEV_MAC_IDE
131     fi
132   fi
134 if [ "$CONFIG_MCA" = "y" ]; then
135   tristate 'PS/2 ESDI hard disk support' CONFIG_BLK_DEV_PS2
137 if [ "$CONFIG_ZORRO" = "y" ]; then
138   tristate 'Amiga Zorro II ramdisk support' CONFIG_AMIGA_Z2RAM
140 if [ "$CONFIG_ATARI" = "y" ]; then
141   tristate 'Atari ACSI support' CONFIG_ATARI_ACSI
142   if [ "$CONFIG_ATARI_ACSI" != "n" ]; then
143     comment 'Some devices (e.g. CD jukebox) support multiple LUNs'
144     bool 'Probe all LUNs on each ACSI device' CONFIG_ACSI_MULTI_LUN
145     dep_tristate 'Atari SLM laser printer support' CONFIG_ATARI_SLM $CONFIG_ATARI_ACSI
146   fi
149 comment 'Additional Block Devices'
151 tristate 'Loopback device support' CONFIG_BLK_DEV_LOOP
152 if [ "$CONFIG_NET" = "y" ]; then
153   tristate 'Network block device support' CONFIG_BLK_DEV_NBD
155 bool 'Multiple devices driver support' CONFIG_BLK_DEV_MD
156 if [ "$CONFIG_BLK_DEV_MD" = "y" ]; then
157   tristate '   Linear (append) mode' CONFIG_MD_LINEAR
158   tristate '   RAID-0 (striping) mode' CONFIG_MD_STRIPED
159   tristate '   RAID-1 (mirroring) mode' CONFIG_MD_MIRRORING
160   tristate '   RAID-4/RAID-5 mode' CONFIG_MD_RAID5
162 if [ "$CONFIG_MD_LINEAR" = "y" -o "$CONFIG_MD_STRIPED" = "y" ]; then
163   bool '      Boot support (linear, striped)' CONFIG_MD_BOOT
165 tristate 'RAM disk support' CONFIG_BLK_DEV_RAM
166 if [ "$CONFIG_BLK_DEV_RAM" = "y" ]; then
167   bool '   Initial RAM disk (initrd) support' CONFIG_BLK_DEV_INITRD
169 tristate 'XT hard disk support' CONFIG_BLK_DEV_XD
171 # PARIDE doesn't need PARPORT, but if PARPORT is configured as a module,
172 # PARIDE must also be a module.  The bogus CONFIG_PARIDE_PARPORT option
173 # controls the choices given to the user ...
175 if [ "$CONFIG_PARPORT" = "y" -o "$CONFIG_PARPORT" = "n" ] ; then
176    define_bool CONFIG_PARIDE_PARPORT y
177 else
178    define_bool CONFIG_PARIDE_PARPORT m
180 dep_tristate 'Parallel port IDE device support' CONFIG_PARIDE $CONFIG_PARIDE_PARPORT
181 if [ "$CONFIG_PARIDE" = "y" -o "$CONFIG_PARIDE" = "m" ]; then
182   source drivers/block/paride/Config.in
186 if [ "$CONFIG_BLK_DEV_CMD640" = "y" -o \
187      "$CONFIG_IDE_CHIPSETS" = "y" -o \
188      "$CONFIG_BLK_DEV_OPTI621" = "y" -o \
189      "$CONFIG_BLK_DEV_IDE_PMAC" = "y" -o \
190      "$CONFIG_BLK_DEV_CY82C693" = "y" -o \
191      "$CONFIG_BLK_DEV_HPT343" = "y" -o \
192      "$CONFIG_BLK_DEV_PIIX" = "y" -o \
193      "$CONFIG_BLK_DEV_SL82C105" = "y" ]; then
194   define_bool CONFIG_BLK_DEV_IDE_MODES y
195 else
196   define_bool CONFIG_BLK_DEV_IDE_MODES n
199 if [ "$CONFIG_BLK_DEV_HD_IDE" = "y" -o "$CONFIG_BLK_DEV_HD_ONLY" = "y" ]; then
200   define_bool CONFIG_BLK_DEV_HD y
201 else
202   define_bool CONFIG_BLK_DEV_HD n
205 endmenu