Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > 2c51d8eb79f8810ada971ee8c30ce1e5 > files > 3462

kernel-doc-2.6.32-71.14.1.el6.noarch.rpm

<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>struct irb</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="Writing s390 channel device drivers" /><link rel="up" href="ch02.html#channelIO" title="I/O functions for channel-attached devices" /><link rel="prev" href="re07.html" title="struct esw3" /><link rel="next" href="re09.html" title="struct ciw" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>struct irb</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re07.html">Prev</a>&#160;</td><th width="60%" align="center">I/O functions for channel-attached devices</th><td width="20%" align="right">&#160;<a accesskey="n" href="re09.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="struct irb"><a id="API-struct-irb"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct irb &#8212; 
     interruption response block
 </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
struct irb {
  union scsw scsw;
  union esw;
  __u8 ecw[32];
};  </pre></div><div class="refsect1" title="Members"><a id="id3089554"></a><h2>Members</h2><div class="variablelist"><dl><dt><span class="term">scsw</span></dt><dd><p>
   subchannel status word
      </p></dd><dt><span class="term">esw</span></dt><dd><p>
   extened status word, 4 formats
      </p></dd><dt><span class="term">ecw[32]</span></dt><dd><p>
   extended control word
      </p></dd></dl></div></div><div class="refsect1" title="Description"><a id="id3089598"></a><h2>Description</h2><p>
   The irb that is handed to the device driver when an interrupt occurs. For
   solicited interrupts, the common I/O layer already performs checks whether
   a field is valid; a field not being valid is always passed as <code class="constant">0</code>.
   If a unit check occured, <em class="parameter"><code>ecw</code></em> may contain sense data; this is retrieved
   by the common I/O layer itself if the device doesn't support concurrent
   sense (so that the device driver never needs to perform basic sene itself).
   For unsolicited interrupts, the irb is passed as-is (expect for sense data,
   if applicable).
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re07.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch02.html#channelIO">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="re09.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>struct esw3</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span>struct ciw</span></td></tr></table></div></body></html>