Linux SCSI Driver Overview

Source: Internet
Author: User

iSCSI Initiator

config iscsi_tcptristate  "ISCSI INITIATOR OVER TCP/IP" depends on SCSI  && inetselect cryptoselect crypto_md5select crypto_crc32cselect scsi_iscsi_ attrshelp the iscsi driver provides a host with the ability  To access storage through an ip network. the driver uses the  iscsi protocol to transport scsi requests and responses over  a TCP/IP network between the host  (the  "initiator")  and  " Targets ".  architecturally, the iscsi driver combines with the  Host ' s tcp/ip stack, network drivers, and network interface card  (NIC)  to provide the same functions as a SCSI or a  fibre channel (FC)  adapter driver with a Host Bus Adapter  (HBA) . to  Compile this driver as a module, choose m here: the module  will be called iscsi_tcp. the userspace component needed to  initialize the driver, documentation, and sample configuration files  can be found here:
obj-$ (config_iscsi_tcp) + = LIBISCSI.OLIBISCSI_TCP.O ISCSI_TCP.O
Config scsi_iscsi_attrstristate "ISCSI Transport Attributes" depends on SCSI && netselect blk_dev_bsglibhelp If yo  U wish to export transport-specific information on each attached ISCSI device to SYSFS, say Y. Otherwise, say n.obj-$ (config_scsi_iscsi_attrs) + = SCSI_TRANSPORT_ISCSI.O




FC Initiator

SOURCE "Drivers/scsi/qla2xxx/kconfig"

obj-$ (CONFIG_SCSI_QLA_FC)+ = qla2xxx/


config scsi_debugtristate  "Scsi debugging host simulator" depends on  Scsiselect crc_t10difhelp  this is a host adapter simulator that  can simulate multiple hosts  each with multiple dummy scsi  devices  (disks).  it defaults to one  host adapter with  one dummy scsi disk. each dummy disk uses kernel  ram  as storage  (i.e. it is a ramdisk).  to save space when  multiple  dummy disks are simulated, they share the same  kernel ram for   their storage. see 

Source "Drivers/scsi/device_handler/kconfig"

config scsitristate  "Scsi device support" DEPENDS&NBSP;ON&NBSP;BLOCKSELECT&NBSP;SCSI_DMA &NBSP;IF&NBSP;HAS_DMA---help---  if you want to use a scsi hard  disk, scsi tape drive, scsi cd-rom or  any other scsi  device under linux, say y and make sure that you know   the name of your SCSI host adapter  (the card inside  your computer  that  "Speaks"  the scsi protocol, also called  scsi controller),  because you will be asked for it.   you also need to say y here if you have a device  which speaks  the SCSI protocol.  Examples of this  Include the paRallel port  version of the iomega zip drive, usb storage  devices, fibre  channel, and firewire storage.  to compile  this driver as a module, choose M here and read   <file:documentation/scsi/scsi.txt>.  the module will be called scsi_ Mod.  however, do not compile this as a module if your  root file system   (the one containing the directory /)  is located on a scsi device.  obj-$ (CONFIG_SCSI) += scsi_ Mod.oscsi_mod-y+= scsi.o hosts.o scsi_ioctl.o constants.o    scsicam.o  scsi_error.o scsi_lib.oscsi_mod-$ (CONFIG_SCSI_DMA) += scsi_lib_dma.oscsi_mod-y+= scsi_ Scan.o scsi_sysfs.o scsi_devinfo.oscsi_mod-$ (Config_scsi_netlink) += scsi_netlink.oscsi_mod-$ (CONFIG_SYSCTL) += scsi_ sysctl.oscsi_mod-$ (CONFIG_SCSI_PROC_FS) += scsi_proc.oscsi_mod-y+= scsi_trace.oscsi_mod-$ (CONFIG_PM) + = scsi_pm.o
config scsi_fc_attrstristate  "fiberchannel transport  Attributes "Depends on scsiselect scsi_netlinkhelp  if you wish to  export transport-specific information about  each attached  fiberchannel device to sysfs, say y.  otherwise, say n.obj-$ ( Config_scsi_fc_attrs) &NBSP;+=&NBSP;SCSI_TRANSPORT_FC.O 
config blk_dev_sdtristate  "Scsi disk support" depends on scsiselect crc_ T10dif if blk_dev_integrity---help---  if you want to use scsi  hard disks, Fibre Channel disks,  Serial ATA  (SATA)  or  Parallel ATA  (PATA)  hard disks,  USB storage or the  Scsi or parallel port version of  the iomega zip drive,  say y and read the scsi-howto,  the disk-howto and the  Multi-Disk-HOWTO, available from  

===========================================================================================

SCSI Disk

SD.C SD_DIF.C

obj-$ (CONFIG_SCSI) + = scsi_mod.oscsi_mod-y+= scsi.o hosts.o scsi_ioctl.o constants.o scsicam.o scsi_error.o Scsi_lib.os csi_mod-$ (CONFIG_SCSI_DMA) + = scsi_lib_dma.oscsi_mod-y+= scsi_scan.o scsi_sysfs.o scsi_devinfo.oscsi_mod-$ (CONFIG_ Scsi_netlink) + = scsi_netlink.oscsi_mod-$ (config_sysctl) + scsi_sysctl.oscsi_mod-$ (config_scsi_proc_fs) + = Scsi_ proc.oscsi_mod-y+= scsi_trace.oscsi_mod-$ (config_pm) + = SCSI_PM.O

Sg.c

Scsi_transport_fc.c

Scsi_transport_iscsi.c

Scsi_debug.c


FC Initiator Driver

obj-$ (CONFIG_SCSI_QLA_FC) + = qla2xxx/

config scsi_qla_fctristate  "Qlogic qla2xxx fibre channel support" Depends on  pci && scsiselect scsi_fc_attrsselect fw_loader---help---This qla2xxx  driver supports all QLogic Fibre ChannelPCI and PCIe host  Adapters. By default, firmware for the isp parts will be loadedvia the  firmware loader interface. isp               firmware  Filename----------        -----------------21xx               ql2100_fw.bin22xx               ql2200_fw.bin2300, 2312, 6312   ql2300_fw.bin2322, 6322        ql2322_fw.bin24xx, 54xx        ql2400_fw.bin25xx               ql2500_fw.binupon request, the  driver caches the firmware image untilthe driver is unloaded. firmware images can be retrieved from:http://ldriver.qlogic.com/firmware/they  are also included in the linux-firmware tree as well.qla2xxx-y :=  qla_os.o qla_init.o qla_mbx.o qla_iocb.o qla_isr.o qla_gs.o qla_dbg.o  qla_sup.o qla_attr.o qla_mid.o qla_dfs.o qla_bsg.o          qla_nx.o qla_mr.o qla_nx2.o qla_target.oobj-$ (CONFIG_SCSI_QLA_FC)   += qla2xxx.o



ISCSI Initiator Driver

obj-$ (config_iscsi_tcp) + = LIBISCSI.OLIBISCSI_TCP.O ISCSI_TCP.O


Linux SCSI Driver Overview

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.