kconfig

来自「linux 内核源代码」· 代码 · 共 435 行 · 第 1/2 页

TXT
435
字号
## Block device driver configuration#menuconfig BLK_DEV	bool "Block devices"	depends on BLOCK	default y	---help---	  Say Y here to get to see options for various different block device	  drivers. This option alone does not add any kernel code.	  If you say N, all options in this submenu will be skipped and disabled;	  only do this if you know what you are doing.if BLK_DEVconfig BLK_DEV_FD	tristate "Normal floppy disk support"	depends on ARCH_MAY_HAVE_PC_FDC	---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	  Thinkpad users, is contained in <file:Documentation/floppy.txt>.	  That file also contains the location of the Floppy driver FAQ as	  well as location of the fdutils package used to configure additional	  parameters of the driver at run time.	  To compile this driver as a module, choose M here: the	  module will be called floppy.config AMIGA_FLOPPY	tristate "Amiga floppy support"	depends on AMIGAconfig ATARI_FLOPPY	tristate "Atari floppy support"	depends on ATARIconfig 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 && BROKEN	help	  Say Y here if you have a PS/2 machine with a MCA bus and an ESDI	  hard disk.	  To compile this driver as a module, choose M here: the	  module will be called ps2esdi.config AMIGA_Z2RAM	tristate "Amiga Zorro II ramdisk support"	depends on ZORRO	help	  This enables support for using Chip RAM and Zorro II RAM as a	  ramdisk or as a swap partition. Say Y if you want to include this	  driver in the kernel.	  To compile this driver as a module, choose M here: the	  module will be called z2ram.config BLK_DEV_XD	tristate "XT hard disk support"	depends on ISA && ISA_DMA_API	select CHECK_SIGNATURE	help	  Very old 8 bit hard disk controllers used in the IBM XT computer	  will be supported if you say Y here.	  To compile this driver as a module, choose M here: the	  module will be called xd.	  It's pretty unlikely that you have one of these: say N.config PARIDE	tristate "Parallel port IDE device support"	depends on PARPORT_PC	---help---	  There are many external CD-ROM and disk devices that connect through	  your computer's parallel port. Most of them are actually IDE devices	  using a parallel port IDE adapter. This option enables the PARIDE	  subsystem which contains drivers for many of these external drives.	  Read <file:Documentation/paride.txt> for more information.	  If you have said Y to the "Parallel-port support" configuration	  option, you may share a single port between your printer and other	  parallel port devices. Answer Y to build PARIDE support into your	  kernel, or M if you would like to build it as a loadable module. If	  your parallel port support is in a loadable module, you must build	  PARIDE as a module. If you built PARIDE support into your kernel,	  you may still build the individual protocol modules and high-level	  drivers as loadable modules. If you build this support as a module,	  it will be called paride.	  To use the PARIDE support, you must say Y or M here and also to at	  least one high-level driver (e.g. "Parallel port IDE disks",	  "Parallel port ATAPI CD-ROMs", "Parallel port ATAPI disks" etc.) and	  to at least one protocol driver (e.g. "ATEN EH-100 protocol",	  "MicroSolutions backpack protocol", "DataStor Commuter protocol"	  etc.).source "drivers/block/paride/Kconfig"config BLK_CPQ_DA	tristate "Compaq SMART2 support"	depends on PCI && VIRT_TO_BUS	help	  This is the driver for Compaq Smart Array controllers.  Everyone	  using these boards should say Y here.  See the file	  <file:Documentation/cpqarray.txt> for the current list of boards	  supported by this driver, and for further information on the use of	  this driver.config BLK_CPQ_CISS_DA	tristate "Compaq Smart Array 5xxx support"	depends on PCI	help	  This is the driver for Compaq Smart Array 5xxx controllers.	  Everyone using these boards should say Y here.	  See <file:Documentation/cciss.txt> for the current list of	  boards supported by this driver, and for further information	  on the use of this driver.config CISS_SCSI_TAPE	bool "SCSI tape drive support for Smart Array 5xxx"	depends on BLK_CPQ_CISS_DA && PROC_FS	depends on SCSI=y || SCSI=BLK_CPQ_CISS_DA	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 <file:Documentation/cciss.txt> for more details.)	  "SCSI support" and "SCSI tape support" must also be enabled for this 	  option to work.	  When this option is disabled (N), the SCSI portion of the driver 	  is not compiled.config BLK_DEV_DAC960	tristate "Mylex DAC960/DAC1100 PCI RAID Controller support"	depends on PCI	help	  This driver adds support for the Mylex DAC960, AcceleRAID, and	  eXtremeRAID PCI RAID controllers.  See the file	  <file:Documentation/README.DAC960> for further information about	  this driver.	  To compile this driver as a module, choose M here: the	  module will be called DAC960.config BLK_DEV_UMEM	tristate "Micro Memory MM5415 Battery Backed RAM support (EXPERIMENTAL)"	depends on PCI && EXPERIMENTAL	---help---	  Saying Y here will include support for the MM5415 family of	  battery backed (Non-volatile) RAM cards.	  <http://www.umem.com/>	  The cards appear as block devices that can be partitioned into	  as many as 15 partitions.	  To compile this driver as a module, choose M here: the	  module will be called umem.	  The umem driver has not yet been allocated a MAJOR number, so	  one is chosen dynamically.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_UBDconfig BLK_DEV_LOOP	tristate "Loopback device support"	---help---	  Saying Y here will allow you to use a regular file as a block	  device; you can then create a file system on that block device and	  mount it just as you would mount other block devices such as hard	  drive partitions, CD-ROM drives or floppy drives. The loop devices	  are block special device files with major number 7 and typically	  called /dev/loop0, /dev/loop1 etc.	  This is useful if you want to check an ISO 9660 file system before	  burning the CD, or if you want to use floppy images without first

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?