summaryrefslogtreecommitdiffstats
path: root/drivers/block/Config.in
blob: 220148670ea32eaae10082abfff8369c6a410308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#
# Block device driver configuration
#
mainmenu_option next_comment
comment 'Floppy, IDE, and other block devices'

tristate 'Normal floppy disk support' CONFIG_BLK_DEV_FD
tristate 'Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support' CONFIG_BLK_DEV_IDE
comment 'Please see Documentation/ide.txt for help/info on IDE drives'
if [ "$CONFIG_BLK_DEV_IDE" = "n" ]; then
  bool 'Old harddisk (MFM/RLL/IDE) driver' CONFIG_BLK_DEV_HD_ONLY
else
  bool '   Use old disk-only driver on primary interface' CONFIG_BLK_DEV_HD_IDE
  dep_tristate '   Include IDE/ATA-2 DISK support' CONFIG_BLK_DEV_IDEDISK $CONFIG_BLK_DEV_IDE
  dep_tristate '   Include IDE/ATAPI CDROM support' CONFIG_BLK_DEV_IDECD $CONFIG_BLK_DEV_IDE
  dep_tristate '   Include IDE/ATAPI TAPE support' CONFIG_BLK_DEV_IDETAPE $CONFIG_BLK_DEV_IDE
  dep_tristate '   Include IDE/ATAPI FLOPPY support' CONFIG_BLK_DEV_IDEFLOPPY $CONFIG_BLK_DEV_IDE
  dep_tristate '   SCSI emulation support' CONFIG_BLK_DEV_IDESCSI $CONFIG_BLK_DEV_IDE
  if [ "$CONFIG_BLK_DEV_IDE" = "y" ]; then
    bool '   CMD640 chipset bugfix/support' CONFIG_BLK_DEV_CMD640
    if [ "$CONFIG_BLK_DEV_CMD640" = "y" ]; then
      bool '     CMD640 enhanced support' CONFIG_BLK_DEV_CMD640_ENHANCED
    fi
    if [ "$CONFIG_PCI" = "y" ]; then
      bool '   RZ1000 chipset bugfix/support' CONFIG_BLK_DEV_RZ1000
      bool '   PCI bus-master DMA support' CONFIG_BLK_DEV_IDEDMA
      if [ "$CONFIG_BLK_DEV_IDEDMA" = "y" ]; then
        if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
          bool '      Tekram TRM290 DMA support (EXPERIMENTAL)' CONFIG_BLK_DEV_TRM290
          bool '      OPTi 82C621 enhanced support (EXPERIMENTAL)' CONFIG_BLK_DEV_OPTI621
        fi
      fi
    fi
    bool '   Other IDE chipset support' CONFIG_IDE_CHIPSETS
    if [ "$CONFIG_IDE_CHIPSETS" = "y" ]; then
      comment 'Note: most of these also require special kernel boot parameters'
      bool '      Generic 4 drives/port support' CONFIG_BLK_DEV_4DRIVES
      bool '      ALI M14xx support' CONFIG_BLK_DEV_ALI14XX
      bool '      DTC-2278 support' CONFIG_BLK_DEV_DTC2278
      bool '      Holtek HT6560B support' CONFIG_BLK_DEV_HT6560B
      if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
        bool '      PROMISE DC4030 support (EXPERIMENTAL)' CONFIG_BLK_DEV_PDC4030
      fi
      bool '      QDI QD6580 support' CONFIG_BLK_DEV_QD6580
      bool '      UMC-8672 support' CONFIG_BLK_DEV_UMC8672
    fi
  fi
fi
if [ "$CONFIG_MCA" = "y" ]; then
  bool 'PS/2 ESDI harddisk support' CONFIG_BLK_DEV_PS2
fi

comment 'Additional Block Devices'

tristate 'Loopback device support' CONFIG_BLK_DEV_LOOP
#tristate 'Network block device support' CONFIG_BLK_DEV_NBD
bool 'Multiple devices driver support' CONFIG_BLK_DEV_MD
if [ "$CONFIG_BLK_DEV_MD" = "y" ]; then
  tristate '   Linear (append) mode' CONFIG_MD_LINEAR
  tristate '   RAID-0 (striping) mode' CONFIG_MD_STRIPED
  tristate '   RAID-1 (mirroring) mode' CONFIG_MD_MIRRORING
  tristate '   RAID-4/RAID-5 mode' CONFIG_MD_RAID5
fi
tristate 'RAM disk support' CONFIG_BLK_DEV_RAM
if [ "$CONFIG_BLK_DEV_RAM" = "y" ]; then
  bool '   Initial RAM disk (initrd) support' CONFIG_BLK_DEV_INITRD
fi
tristate 'XT harddisk support' CONFIG_BLK_DEV_XD
tristate 'SyQuest EZ parallel port disk support' CONFIG_BLK_DEV_EZ

if [ "$CONFIG_BLK_DEV_HD_IDE" = "y" -o "$CONFIG_BLK_DEV_HD_ONLY" = "y" ]; then
  define_bool CONFIG_BLK_DEV_HD y
else
  define_bool CONFIG_BLK_DEV_HD n
fi

endmenu