1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>SCSI Interfaces Guide</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="SCSI Interfaces Guide"><link rel="next" href="intro.html" title="Chapter 1. Introduction"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SCSI Interfaces Guide</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="intro.html">Next</a></td></tr></table><hr></div><div class="book"><div class="titlepage"><div><div><h1 class="title"><a name="scsimid"></a>SCSI Interfaces Guide</h1></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">James</span> <span class="surname">Bottomley</span></h3><div class="affiliation"><div class="address"><p><br> 2            <code class="email"><<a class="email" href="mailto:James.Bottomley@hansenpartnership.com">James.Bottomley@hansenpartnership.com</a>></code><br> 3          </p></div></div></div><div class="author"><h3 class="author"><span class="firstname">Rob</span> <span class="surname">Landley</span></h3><div class="affiliation"><div class="address"><p><br> 4            <code class="email"><<a class="email" href="mailto:rob@landley.net">rob@landley.net</a>></code><br> 5          </p></div></div></div></div></div><div><p class="copyright">Copyright © 2007 Linux Foundation</p></div><div><div class="legalnotice"><a name="idp1122578356"></a><p> 6 This documentation is free software; you can redistribute 7 it and/or modify it under the terms of the GNU General Public 8 License version 2. 9 </p><p> 10 This program is distributed in the hope that it will be 11 useful, but WITHOUT ANY WARRANTY; without even the implied 12 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 13 For more details see the file COPYING in the source 14 distribution of Linux. 15 </p></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="chapter"><a href="intro.html">1. Introduction</a></span></dt><dd><dl><dt><span class="sect1"><a href="intro.html#protocol_vs_bus">Protocol vs bus</a></span></dt><dt><span class="sect1"><a href="subsystem_design.html">Design of the Linux SCSI subsystem</a></span></dt></dl></dd><dt><span class="chapter"><a href="upper_layer.html">2. SCSI upper layer</a></span></dt><dd><dl><dt><span class="sect1"><a href="upper_layer.html#sd">sd (SCSI Disk)</a></span></dt><dt><span class="sect1"><a href="sr.html">sr (SCSI CD-ROM)</a></span></dt><dt><span class="sect1"><a href="st.html">st (SCSI Tape)</a></span></dt><dt><span class="sect1"><a href="sg.html">sg (SCSI Generic)</a></span></dt><dt><span class="sect1"><a href="ch.html">ch (SCSI Media Changer)</a></span></dt></dl></dd><dt><span class="chapter"><a href="mid_layer.html">3. SCSI mid layer</a></span></dt><dd><dl><dt><span class="sect1"><a href="mid_layer.html#midlayer_implementation">SCSI midlayer implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="mid_layer.html#scsi_device.h">include/scsi/scsi_device.h</a></span></dt><dt><span class="sect2"><a href="mid_layer.html#scsi.c">drivers/scsi/scsi.c</a></span></dt><dt><span class="sect2"><a href="mid_layer.html#scsicam.c">drivers/scsi/scsicam.c</a></span></dt><dt><span class="sect2"><a href="mid_layer.html#scsi_error.c">drivers/scsi/scsi_error.c</a></span></dt><dt><span class="sect2"><a href="mid_layer.html#scsi_devinfo.c">drivers/scsi/scsi_devinfo.c</a></span></dt><dt><span class="sect2"><a href="mid_layer.html#scsi_ioctl.c">drivers/scsi/scsi_ioctl.c</a></span></dt><dt><span class="sect2"><a href="mid_layer.html#scsi_lib.c">drivers/scsi/scsi_lib.c</a></span></dt><dt><span class="sect2"><a href="mid_layer.html#scsi_lib_dma.c">drivers/scsi/scsi_lib_dma.c</a></span></dt><dt><span class="sect2"><a href="mid_layer.html#scsi_module.c">drivers/scsi/scsi_module.c</a></span></dt><dt><span class="sect2"><a href="mid_layer.html#scsi_proc.c">drivers/scsi/scsi_proc.c</a></span></dt><dt><span class="sect2"><a href="mid_layer.html#scsi_netlink.c">drivers/scsi/scsi_netlink.c</a></span></dt><dt><span class="sect2"><a href="mid_layer.html#scsi_scan.c">drivers/scsi/scsi_scan.c</a></span></dt><dt><span class="sect2"><a href="mid_layer.html#scsi_sysctl.c">drivers/scsi/scsi_sysctl.c</a></span></dt><dt><span class="sect2"><a href="mid_layer.html#scsi_sysfs.c">drivers/scsi/scsi_sysfs.c</a></span></dt><dt><span class="sect2"><a href="mid_layer.html#hosts.c">drivers/scsi/hosts.c</a></span></dt><dt><span class="sect2"><a href="mid_layer.html#constants.c">drivers/scsi/constants.c</a></span></dt></dl></dd><dt><span class="sect1"><a href="Transport_classes.html">Transport classes</a></span></dt><dd><dl><dt><span class="sect2"><a href="Transport_classes.html#Fibre_Channel_transport">Fibre Channel transport</a></span></dt><dt><span class="sect2"><a href="Transport_classes.html#iSCSI_transport">iSCSI transport class</a></span></dt><dt><span class="sect2"><a href="Transport_classes.html#SAS_transport">Serial Attached SCSI (SAS) transport class</a></span></dt><dt><span class="sect2"><a href="Transport_classes.html#SATA_transport">SATA transport class</a></span></dt><dt><span class="sect2"><a href="Transport_classes.html#SPI_transport">Parallel SCSI (SPI) transport class</a></span></dt><dt><span class="sect2"><a href="Transport_classes.html#SRP_transport">SCSI RDMA (SRP) transport class</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="lower_layer.html">4. SCSI lower layer</a></span></dt><dd><dl><dt><span class="sect1"><a href="lower_layer.html#hba_drivers">Host Bus Adapter transport types</a></span></dt><dd><dl><dt><span class="sect2"><a href="lower_layer.html#scsi_debug.c">Debug transport</a></span></dt><dt><span class="sect2"><a href="lower_layer.html#todo">todo</a></span></dt></dl></dd></dl></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="intro.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"> </td><td width="40%" align="right" valign="top"> Chapter 1. Introduction</td></tr></table></div></body></html> 16