Import 2.1.116pre2
[davej-history.git] / drivers / block / Config.in
blob86208ba98d62b8e138403e6806174b3131ffb45e
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   dep_tristate '   Include IDE/ATAPI CDROM support' CONFIG_BLK_DEV_IDECD $CONFIG_BLK_DEV_IDE
23   dep_tristate '   Include IDE/ATAPI TAPE support' CONFIG_BLK_DEV_IDETAPE $CONFIG_BLK_DEV_IDE
24   dep_tristate '   Include IDE/ATAPI FLOPPY support' CONFIG_BLK_DEV_IDEFLOPPY $CONFIG_BLK_DEV_IDE
25   dep_tristate '   SCSI emulation support' CONFIG_BLK_DEV_IDESCSI $CONFIG_BLK_DEV_IDE
26   if [ "$CONFIG_BLK_DEV_IDE" != "n" ]; then
27     bool '   CMD640 chipset bugfix/support' CONFIG_BLK_DEV_CMD640
28     if [ "$CONFIG_BLK_DEV_CMD640" = "y" ]; then
29       bool '     CMD640 enhanced support' CONFIG_BLK_DEV_CMD640_ENHANCED
30     fi
31     if [ "$CONFIG_PCI" = "y" ]; then
32       bool '   RZ1000 chipset bugfix/support' CONFIG_BLK_DEV_RZ1000
33       bool '   Generic PCI IDE chipset support' CONFIG_BLK_DEV_IDEPCI
34       if [ "$CONFIG_BLK_DEV_IDEPCI" = "y" ]; then
35         bool '     Generic PCI bus-master DMA support' CONFIG_BLK_DEV_IDEDMA
36         if [ "$CONFIG_BLK_DEV_IDEDMA" = "y" ]; then
37           bool '     Use DMA by default when available' CONFIG_IDEDMA_AUTO
38         fi
39         if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
40           bool '     OPTi 82C621 chipset enhanced support (EXPERIMENTAL)' CONFIG_BLK_DEV_OPTI621
41           if [ "$CONFIG_BLK_DEV_IDEDMA" = "y" ]; then
42             bool '     Tekram TRM290 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_TRM290
43             bool '     NS87415 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_NS87415
44           fi
45         fi
46       fi
47       if [ "$CONFIG_PPC" = "y" ]; then
48           bool '   WInbond SL82c105 support' CONFIG_BLK_DEV_SL82C105
49       fi
50     fi
51     bool '   Other IDE chipset support' CONFIG_IDE_CHIPSETS
52     if [ "$CONFIG_IDE_CHIPSETS" = "y" ]; then
53       comment 'Note: most of these also require special kernel boot parameters'
54       bool '     Generic 4 drives/port support' CONFIG_BLK_DEV_4DRIVES
55       bool '     ALI M14xx support' CONFIG_BLK_DEV_ALI14XX
56       bool '     DTC-2278 support' CONFIG_BLK_DEV_DTC2278
57       bool '     Holtek HT6560B support' CONFIG_BLK_DEV_HT6560B
58       bool '     QDI QD6580 support' CONFIG_BLK_DEV_QD6580
59       bool '     UMC-8672 support' CONFIG_BLK_DEV_UMC8672
60       if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
61         if [ "$CONFIG_BLK_DEV_IDE" = "y" ]; then
62         bool '     PROMISE DC4030 support (EXPERIMENTAL)' CONFIG_BLK_DEV_PDC4030
63          fi
64       fi
65     fi
66   fi
68 if [ "$CONFIG_MCA" = "y" ]; then
69   bool 'PS/2 ESDI hard disk support' CONFIG_BLK_DEV_PS2
71 if [ "$CONFIG_ZORRO" = "y" ]; then
72   tristate 'Amiga Zorro II ramdisk support' CONFIG_AMIGA_Z2RAM
74 if [ "$CONFIG_ATARI" = "y" ]; then
75   tristate 'Atari ACSI support' CONFIG_ATARI_ACSI
76   if [ "$CONFIG_ATARI_ACSI" != "n" ]; then
77     comment 'Some devices (e.g. CD jukebox) support multiple LUNs'
78     bool 'Probe all LUNs on each ACSI device' CONFIG_ACSI_MULTI_LUN
79     dep_tristate 'Atari SLM laser printer support' CONFIG_ATARI_SLM $CONFIG_ATARI_ACSI
80   fi
83 comment 'Additional Block Devices'
85 tristate 'Loopback device support' CONFIG_BLK_DEV_LOOP
86 tristate 'Network block device support' CONFIG_BLK_DEV_NBD
87 bool 'Multiple devices driver support' CONFIG_BLK_DEV_MD
88 if [ "$CONFIG_BLK_DEV_MD" = "y" ]; then
89   tristate '   Linear (append) mode' CONFIG_MD_LINEAR
90   tristate '   RAID-0 (striping) mode' CONFIG_MD_STRIPED
91   tristate '   RAID-1 (mirroring) mode' CONFIG_MD_MIRRORING
92   tristate '   RAID-4/RAID-5 mode' CONFIG_MD_RAID5
94 if [ "$CONFIG_MD_LINEAR" = "y" -o "$CONFIG_MD_STRIPED" = "y" ]; then
95   bool '      Boot support (linear, striped)' CONFIG_MD_BOOT
97 tristate 'RAM disk support' CONFIG_BLK_DEV_RAM
98 if [ "$CONFIG_BLK_DEV_RAM" = "y" ]; then
99   bool '   Initial RAM disk (initrd) support' CONFIG_BLK_DEV_INITRD
101 tristate 'XT hard disk support' CONFIG_BLK_DEV_XD
103 # PARIDE doesn't need PARPORT, but if PARPORT is configured as a module,
104 # PARIDE must also be a module.  The bogus CONFIG_PARIDE_PARPORT option
105 # controls the choices given to the user ...
107 if [ "$CONFIG_PARPORT" = "y" -o "$CONFIG_PARPORT" = "n" ] ; then
108    define_bool CONFIG_PARIDE_PARPORT y
109 else
110    define_bool CONFIG_PARIDE_PARPORT m
112 dep_tristate 'Parallel port IDE device support' CONFIG_PARIDE $CONFIG_PARIDE_PARPORT
113 if [ "$CONFIG_PARIDE" = "y" -o "$CONFIG_PARIDE" = "m" ]; then
114   source drivers/block/paride/Config.in
117 if [ "$CONFIG_BLK_DEV_HD_IDE" = "y" -o "$CONFIG_BLK_DEV_HD_ONLY" = "y" ]; then
118   define_bool CONFIG_BLK_DEV_HD y
119 else
120   define_bool CONFIG_BLK_DEV_HD n
123 endmenu