~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/scsi/scsi.rst

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 .. SPDX-License-Identifier: GPL-2.0
  2 
  3 ============================
  4 SCSI subsystem documentation
  5 ============================
  6 
  7 The Linux Documentation Project (LDP) maintains a document describing
  8 the SCSI subsystem in the Linux kernel (lk) 2.4 series. See:
  9 https://www.tldp.org/HOWTO/SCSI-2.4-HOWTO . The LDP has single
 10 and multiple page HTML renderings as well as postscript and pdf.
 11 
 12 Notes on using modules in the SCSI subsystem
 13 ============================================
 14 The SCSI support in the Linux kernel can be modularized in a number of
 15 different ways depending upon the needs of the end user.  To understand
 16 your options, we should first define a few terms.
 17 
 18 The scsi-core (also known as the "mid level") contains the core of SCSI
 19 support.  Without it you can do nothing with any of the other SCSI drivers.
 20 The SCSI core support can be a module (scsi_mod.o), or it can be built into
 21 the kernel. If the core is a module, it must be the first SCSI module
 22 loaded, and if you unload the modules, it will have to be the last one
 23 unloaded.  In practice the modprobe and rmmod commands
 24 will enforce the correct ordering of loading and unloading modules in
 25 the SCSI subsystem.
 26 
 27 The individual upper and lower level drivers can be loaded in any order
 28 once the SCSI core is present in the kernel (either compiled in or loaded
 29 as a module).  The disk driver (sd_mod.o), CD-ROM driver (sr_mod.o),
 30 tape driver [1]_ (st.o) and SCSI generics driver (sg.o) represent the upper
 31 level drivers to support the various assorted devices which can be
 32 controlled.  You can for example load the tape driver to use the tape drive,
 33 and then unload it once you have no further need for the driver (and release
 34 the associated memory).
 35 
 36 The lower level drivers are the ones that support the individual cards that
 37 are supported for the hardware platform that you are running under. Those
 38 individual cards are often called Host Bus Adapters (HBAs). For example the
 39 aic7xxx.o driver is used to control all recent SCSI controller cards from
 40 Adaptec. Almost all lower level drivers can be built either as modules or
 41 built into the kernel.
 42 
 43 .. [1] There is a variant of the st driver for controlling OnStream tape
 44        devices. Its module name is osst.o .

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php