设为首页 收藏本站
查看: 501|回复: 0

[经验分享] Linux scsi driver overview

[复制链接]

尚未签到

发表于 2018-5-23 08:35:36 | 显示全部楼层 |阅读模式
  iscsi initiator

config ISCSI_TCP
tristate "iSCSI Initiator over TCP/IP"
depends on SCSI && INET
select CRYPTO
select CRYPTO_MD5
select CRYPTO_CRC32C
select SCSI_ISCSI_ATTRS
help
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.oconfig SCSI_ISCSI_ATTRS
tristate "iSCSI Transport Attributes"
depends on SCSI && NET
select BLK_DEV_BSGLIB
help
  If you wish to export transport-specific information about
  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_DEBUG
tristate "SCSI debugging host simulator"
depends on SCSI
select CRC_T10DIF
help
  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 <http://sg.danny.cz/sg/sdebug26.html> for more
  information. This driver is primarily of use to those testing the
  SCSI and block subsystems. If unsure, say N.
obj-$(CONFIG_SCSI_DEBUG)+= scsi_debug.o  source "drivers/scsi/device_handler/Kconfig"
config SCSI
tristate "SCSI device support"
depends on BLOCK
select SCSI_DMA if 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.o
scsi_mod-y+= scsi.o hosts.o scsi_ioctl.o constants.o \
   scsicam.o scsi_error.o scsi_lib.o
scsi_mod-$(CONFIG_SCSI_DMA)+= scsi_lib_dma.o
scsi_mod-y+= scsi_scan.o scsi_sysfs.o scsi_devinfo.o
scsi_mod-$(CONFIG_SCSI_NETLINK)+= scsi_netlink.o
scsi_mod-$(CONFIG_SYSCTL)+= scsi_sysctl.o
scsi_mod-$(CONFIG_SCSI_PROC_FS)+= scsi_proc.o
scsi_mod-y+= scsi_trace.o
scsi_mod-$(CONFIG_PM)+= scsi_pm.oconfig SCSI_FC_ATTRS
tristate "FiberChannel Transport Attributes"
depends on SCSI
select SCSI_NETLINK
help
  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) += scsi_transport_fc.oconfig BLK_DEV_SD
tristate "SCSI disk support"
depends on SCSI
select 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
  <http://www.tldp.org/docs.html#howto>. This is NOT for SCSI
  CD-ROMs.
  To compile this driver as a module, choose M here and read
  <file:Documentation/scsi/scsi.txt>.
  The module will be called sd_mod.
  Do not compile this driver as a module if your root file system
  (the one containing the directory /) is located on a SCSI disk.
  In this case, do not compile the driver for your SCSI host adapter
obj-$(CONFIG_BLK_DEV_SD)+= sd_mod.o
sd_mod-objs:= sd.o
sd_mod-$(CONFIG_BLK_DEV_INTEGRITY) += sd_dif.o
config CHR_DEV_SG
tristate "SCSI generic support"
depends on SCSI
---help---
  If you want to use SCSI scanners, synthesizers or CD-writers or just
  about anything having "SCSI" in its name other than hard disks,
  CD-ROMs or tapes, say Y here. These won't be supported by the kernel
  directly, so you need some additional software which knows how to
  talk to these devices using the SCSI protocol:
  For scanners, look at SANE (<http://www.sane-project.org/>). For CD
  writer software look at Cdrtools
  (<http://cdrecord.berlios.de/private/cdrecord.html>)
  and for burning a "disk at once": CDRDAO
  (<http://cdrdao.sourceforge.net/>). Cdparanoia is a high
  quality digital reader of audio CDs (<http://www.xiph.org/paranoia/>).
  For other devices, it's possible that you'll have to write the
  driver software yourself. Please read the file
  <file:Documentation/scsi/scsi-generic.txt> for more information.
  To compile this driver as a module, choose M here and read
  <file:Documentation/scsi/scsi.txt>. The module will be called sg.
  If unsure, say N.
obj-$(CONFIG_CHR_DEV_SG)+= sg.o
config SCSI_ENCLOSURE
tristate "SCSI Enclosure Support"
depends on SCSI && ENCLOSURE_SERVICES
help
  Enclosures are devices sitting on or in SCSI backplanes that
  manage devices.  If you have a disk cage, the chances are that
  it has an enclosure device.  Selecting this option will just allow
  certain enclosure conditions to be reported and is not required.
obj-$(CONFIG_SCSI_ENCLOSURE)+= ses.o  ===========================================================================================
  SCSI Disk
  sd.c sd_dif.c
obj-$(CONFIG_SCSI)+= scsi_mod.o
scsi_mod-y+= scsi.o hosts.o scsi_ioctl.o constants.o \
   scsicam.o scsi_error.o scsi_lib.o
scsi_mod-$(CONFIG_SCSI_DMA)+= scsi_lib_dma.o
scsi_mod-y+= scsi_scan.o scsi_sysfs.o scsi_devinfo.o
scsi_mod-$(CONFIG_SCSI_NETLINK)+= scsi_netlink.o
scsi_mod-$(CONFIG_SYSCTL)+= scsi_sysctl.o
scsi_mod-$(CONFIG_SCSI_PROC_FS)+= scsi_proc.o
scsi_mod-y+= scsi_trace.o
scsi_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_FC
tristate "QLogic QLA2XXX Fibre Channel Support"
depends on PCI && SCSI
select SCSI_FC_ATTRS
select FW_LOADER
---help---
This qla2xxx driver supports all QLogic Fibre Channel
PCI and PCIe host adapters.
By default, firmware for the ISP parts will be loaded
via the Firmware Loader interface.
ISP               Firmware Filename
----------        -----------------
21xx              ql2100_fw.bin
22xx              ql2200_fw.bin
2300, 2312, 6312  ql2300_fw.bin
2322, 6322        ql2322_fw.bin
24xx, 54xx        ql2400_fw.bin
25xx              ql2500_fw.bin
Upon request, the driver caches the firmware image until
the 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.o
obj-$(CONFIG_SCSI_QLA_FC) += qla2xxx.o  

  

  ISCSI Initiator driver
obj-$(CONFIG_ISCSI_TCP) += libiscsi.olibiscsi_tcp.o iscsi_tcp.o  

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-480054-1-1.html 上篇帖子: Linux之ls命令 下篇帖子: linux date命令的格式
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表