vserver 2.0 rc7
[linux-2.6.git] / drivers / block / Kconfig
index ecbc4e4..176df50 100644 (file)
@@ -6,7 +6,7 @@ menu "Block devices"
 
 config BLK_DEV_FD
        tristate "Normal floppy disk support"
-       depends on (!X86_PC9800 && !ARCH_S390 && !M68K && !IA64) || Q40 || (SUN3X && BROKEN)
+       depends on (!ARCH_S390 && !M68K && !IA64 && !UML && !ARM) || Q40 || (SUN3X && BROKEN) || ARCH_RPC || ARCH_EBSA285
        ---help---
          If you want to use the floppy disk drive(s) of your PC under Linux,
          say Y. Information about this driver, especially important for IBM
@@ -26,13 +26,6 @@ config ATARI_FLOPPY
        tristate "Atari floppy support"
        depends on ATARI
 
-config BLK_DEV_FD98
-       tristate "NEC PC-9800 floppy disk support"
-       depends on X86_PC9800
-       ---help---
-         If you want to use the floppy disk drive(s) of NEC PC-9801/PC-9821,
-         say Y.
-
 config BLK_DEV_SWIM_IOP
        bool "Macintosh IIfx/Quadra 900/Quadra 950 floppy support (EXPERIMENTAL)"
        depends on MAC && EXPERIMENTAL && BROKEN
@@ -40,9 +33,16 @@ config BLK_DEV_SWIM_IOP
          Say Y here to support the SWIM (Super Woz Integrated Machine) IOP
          floppy controller on the Macintosh IIfx and Quadra 900/950.
 
+config MAC_FLOPPY
+       tristate "Support for PowerMac floppy"
+       depends on PPC_PMAC && !PPC_PMAC64
+       help
+         If you have a SWIM-3 (Super Woz Integrated Machine 3; from Apple)
+         floppy controller, say Y here. Most commonly found in PowerMacs.
+
 config BLK_DEV_PS2
        tristate "PS/2 ESDI hard disk support"
-       depends on MCA && MCA_LEGACY
+       depends on MCA && MCA_LEGACY && BROKEN
        help
          Say Y here if you have a PS/2 machine with a MCA bus and an ESDI
          hard disk.
@@ -105,7 +105,7 @@ config ATARI_SLM
 
 config BLK_DEV_XD
        tristate "XT hard disk support"
-       depends on ISA
+       depends on ISA && ISA_DMA_API
        help
          Very old 8 bit hard disk controllers used in the IBM XT computer
          will be supported if you say Y here.
@@ -166,11 +166,11 @@ config BLK_CPQ_CISS_DA
 
 config CISS_SCSI_TAPE
        bool "SCSI tape drive support for Smart Array 5xxx"
-       depends on BLK_CPQ_CISS_DA && SCSI
+       depends on BLK_CPQ_CISS_DA && SCSI && PROC_FS
        help
          When enabled (Y), this option allows SCSI tape drives and SCSI medium
          changers (tape robots) to be accessed via a Compaq 5xxx array 
-         controller.  (See Documentation/cciss.txt for more details.)
+         controller.  (See <file:Documentation/cciss.txt> for more details.)
 
          "SCSI support" and "SCSI tape support" must also be enabled for this 
          option to work.
@@ -196,7 +196,7 @@ config BLK_DEV_UMEM
        ---help---
          Saying Y here will include support for the MM5415 family of
          battery backed (Non-volatile) RAM cards.
-         http://www.umem.com/
+         <http://www.umem.com/>
 
          The cards appear as block devices that can be partitioned into
          as many as 15 partitions.
@@ -208,6 +208,56 @@ config BLK_DEV_UMEM
          one is chosen dynamically.  Use "devfs" or look in /proc/devices
          for the device number
 
+config BLK_DEV_UBD
+       bool "Virtual block device"
+       depends on UML
+       ---help---
+          The User-Mode Linux port includes a driver called UBD which will let
+          you access arbitrary files on the host computer as block devices.
+          Unless you know that you do not need such virtual block devices say
+          Y here.
+
+config BLK_DEV_UBD_SYNC
+       bool "Always do synchronous disk IO for UBD"
+       depends on BLK_DEV_UBD
+       ---help---
+         Writes to the virtual block device are not immediately written to the
+         host's disk; this may cause problems if, for example, the User-Mode
+         Linux 'Virtual Machine' uses a journalling filesystem and the host
+         computer crashes.
+
+          Synchronous operation (i.e. always writing data to the host's disk
+          immediately) is configurable on a per-UBD basis by using a special
+          kernel command line option.  Alternatively, you can say Y here to
+          turn on synchronous operation by default for all block devices.
+
+          If you're running a journalling file system (like reiserfs, for
+          example) in your virtual machine, you will want to say Y here.  If
+          you care for the safety of the data in your virtual machine, Y is a
+          wise choice too.  In all other cases (for example, if you're just
+          playing around with User-Mode Linux) you can choose N.
+
+config BLK_DEV_COW_COMMON
+       bool
+       default BLK_DEV_UBD
+
+config MMAPPER
+       tristate "Example IO memory driver (BROKEN)"
+       depends on UML && BROKEN
+       ---help---
+          The User-Mode Linux port can provide support for IO Memory
+          emulation with this option.  This allows a host file to be
+          specified as an I/O region on the kernel command line. That file
+          will be mapped into UML's kernel address space where a driver can
+          locate it and do whatever it wants with the memory, including
+          providing an interface to it for UML processes to use.
+
+          For more information, see
+          <http://user-mode-linux.sourceforge.net/iomem.html>.
+
+          If you'd like to be able to provide a simulated IO port space for
+          User-Mode Linux processes, say Y.  If unsure, say N.
+
 config BLK_DEV_LOOP
        tristate "Loopback device support"
        ---help---
@@ -265,6 +315,12 @@ config BLK_DEV_CRYPTOLOOP
          instead, which can be configured to be on-disk compatible with the
          cryptoloop device.
 
+config BLK_DEV_VROOT
+       tristate "Virtual Root device support"
+       ---help---
+         Saying Y here will allow you to use quota/fs ioctls on a shared
+         partition within a virtual server without compromising security.
+
 config BLK_DEV_NBD
        tristate "Network block device support"
        depends on NET
@@ -292,14 +348,25 @@ config BLK_DEV_NBD
 
          If unsure, say N.
 
-config BLK_DEV_CARMEL
-       tristate "Promise SATA SX8 (carmel) support"
+config BLK_DEV_SX8
+       tristate "Promise SATA SX8 support"
        depends on PCI
        ---help---
          Saying Y or M here will enable support for the 
-         Promise SATA SX8 ("carmel") controllers.
+         Promise SATA SX8 controllers.
+
+         Use devices /dev/sx8/$N and /dev/sx8/$Np$M.
+
+config BLK_DEV_UB
+       tristate "Low Performance USB Block driver"
+       depends on USB
+       help
+         This driver supports certain USB attached storage devices
+         such as flash keys.
+
+         Warning: Enabling this cripples the usb-storage driver.
 
-         Use devices /dev/carmel/$N and /dev/carmel/$Np$M.
+         If unsure, say N.
 
 config BLK_DEV_RAM
        tristate "RAM disk support"
@@ -320,6 +387,14 @@ config BLK_DEV_RAM
          Most normal users won't need the RAM disk functionality, and can
          thus say N here.
 
+config BLK_DEV_RAM_COUNT
+       int "Default number of RAM disks" if BLK_DEV_RAM
+       default "16"
+       help
+         The default value is 16 RAM disks. Change this if you know what
+         are doing. If you boot from a filesystem that needs to be extracted
+         in memory, you will need at least one RAM disk (e.g. root on cramfs).
+
 config BLK_DEV_RAM_SIZE
        int "Default RAM disk size (kbytes)"
        depends on BLK_DEV_RAM
@@ -339,14 +414,102 @@ config BLK_DEV_INITRD
          "real" root file system, etc. See <file:Documentation/initrd.txt>
          for details.
 
+config INITRAMFS_SOURCE
+       string "Initramfs source file(s)"
+       default ""
+       help
+         This can be either a single cpio archive with a .cpio suffix or a
+         space-separated list of directories and files for building the
+         initramfs image.  A cpio archive should contain a filesystem archive
+         to be used as an initramfs image.  Directories should contain a
+         filesystem layout to be included in the initramfs image.  Files
+         should contain entries according to the format described by the
+         "usr/gen_init_cpio" program in the kernel tree.
+
+         When multiple directories and files are specified then the
+         initramfs image will be the aggregate of all of them.
+
+         See <file:Documentation/early-userspace/README for more details.
+
+         If you are not sure, leave it blank.
+
+config INITRAMFS_ROOT_UID
+       int "User ID to map to 0 (user root)"
+       depends on INITRAMFS_SOURCE!=""
+       default "0"
+       help
+         This setting is only meaningful if the INITRAMFS_SOURCE is
+         contains a directory.  Setting this user ID (UID) to something
+         other than "0" will cause all files owned by that UID to be
+         owned by user root in the initial ramdisk image.
+
+         If you are not sure, leave it set to "0".
+
+config INITRAMFS_ROOT_GID
+       int "Group ID to map to 0 (group root)"
+       depends on INITRAMFS_SOURCE!=""
+       default "0"
+       help
+         This setting is only meaningful if the INITRAMFS_SOURCE is
+         contains a directory.  Setting this group ID (GID) to something
+         other than "0" will cause all files owned by that GID to be
+         owned by group root in the initial ramdisk image.
+
+         If you are not sure, leave it set to "0".
+
+#XXX - it makes sense to enable this only for 32-bit subarch's, not for x86_64
+#for instance.
 config LBD
        bool "Support for Large Block Devices"
-       depends on X86 || MIPS32 || PPC32 || ARCH_S390_31 || SUPERH
+       depends on X86 || MIPS32 || PPC32 || ARCH_S390_31 || SUPERH || UML
        help
          Say Y here if you want to attach large (bigger than 2TB) discs to
          your machine, or if you want to have a raid or loopback device
          bigger than 2TB.  Otherwise say N.
 
+config CDROM_PKTCDVD
+       tristate "Packet writing on CD/DVD media"
+       depends on !UML
+       help
+         If you have a CDROM drive that supports packet writing, say Y to
+         include preliminary support. It should work with any MMC/Mt Fuji
+         compliant ATAPI or SCSI drive, which is just about any newer CD
+         writer.
+
+         Currently only writing to CD-RW, DVD-RW and DVD+RW discs is possible.
+         DVD-RW disks must be in restricted overwrite mode.
+
+         To compile this driver as a module, choose M here: the
+         module will be called pktcdvd.
+
+config CDROM_PKTCDVD_BUFFERS
+       int "Free buffers for data gathering"
+       depends on CDROM_PKTCDVD
+       default "8"
+       help
+         This controls the maximum number of active concurrent packets. More
+         concurrent packets can increase write performance, but also require
+         more memory. Each concurrent packet will require approximately 64Kb
+         of non-swappable kernel memory, memory which will be allocated at
+         pktsetup time.
+
+config CDROM_PKTCDVD_WCACHE
+       bool "Enable write caching"
+       depends on CDROM_PKTCDVD
+       help
+         If enabled, write caching will be set for the CD-R/W device. For now
+         this option is dangerous unless the CD-RW media is known good, as we
+         don't do deferred write error handling yet.
+
 source "drivers/s390/block/Kconfig"
 
+source "drivers/block/Kconfig.iosched"
+
+config ATA_OVER_ETH
+       tristate "ATA over Ethernet support"
+       depends on NET
+       help
+       This driver provides Support for ATA over Ethernet block
+       devices like the Coraid EtherDrive (R) Storage Blade.
+
 endmenu