<?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>Chapter 2. The ccw bus</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="Writing s390 channel device drivers" /><link rel="up" href="index.html" title="Writing s390 channel device drivers" /><link rel="prev" href="intro.html" title="Chapter 1. Introduction" /><link rel="next" href="API-struct-ccw1.html" title="struct ccw1" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 2. The ccw bus</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="intro.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="API-struct-ccw1.html">Next</a></td></tr></table><hr /></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a id="ccw"></a>Chapter 2. The ccw bus</h1></div></div></div><div class="toc"><p><strong>Table of Contents</strong></p><dl class="toc"><dt><span class="sect1"><a href="ccw.html#channelIO">I/O functions for channel-attached devices</a></span></dt><dt><span class="sect1"><a href="ccwdev.html">ccw devices</a></span></dt><dt><span class="sect1"><a href="cmf.html">The channel-measurement facility</a></span></dt></dl></div><p> The ccw bus typically contains the majority of devices available to a s390 system. Named after the channel command word (ccw), the basic command structure used to address its devices, the ccw bus contains so-called channel attached devices. They are addressed via I/O subchannels, visible on the css bus. A device driver for channel-attached devices, however, will never interact with the subchannel directly, but only via the I/O device on the ccw bus, the ccw device. </p><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="channelIO"></a>I/O functions for channel-attached devices</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-struct-ccw1.html"><span class="phrase">struct ccw1</span></a></span><span class="refpurpose"> — channel command word </span></dt><dt><span class="refentrytitle"><a href="API-struct-erw.html"><span class="phrase">struct erw</span></a></span><span class="refpurpose"> — extended report word </span></dt><dt><span class="refentrytitle"><a href="API-struct-erw-eadm.html"><span class="phrase">struct erw_eadm</span></a></span><span class="refpurpose"> — EADM Subchannel extended report word </span></dt><dt><span class="refentrytitle"><a href="API-struct-sublog.html"><span class="phrase">struct sublog</span></a></span><span class="refpurpose"> — subchannel logout area </span></dt><dt><span class="refentrytitle"><a href="API-struct-esw0.html"><span class="phrase">struct esw0</span></a></span><span class="refpurpose"> — Format 0 Extended Status Word (ESW) </span></dt><dt><span class="refentrytitle"><a href="API-struct-esw1.html"><span class="phrase">struct esw1</span></a></span><span class="refpurpose"> — Format 1 Extended Status Word (ESW) </span></dt><dt><span class="refentrytitle"><a href="API-struct-esw2.html"><span class="phrase">struct esw2</span></a></span><span class="refpurpose"> — Format 2 Extended Status Word (ESW) </span></dt><dt><span class="refentrytitle"><a href="API-struct-esw3.html"><span class="phrase">struct esw3</span></a></span><span class="refpurpose"> — Format 3 Extended Status Word (ESW) </span></dt><dt><span class="refentrytitle"><a href="API-struct-esw-eadm.html"><span class="phrase">struct esw_eadm</span></a></span><span class="refpurpose"> — EADM Subchannel Extended Status Word (ESW) </span></dt><dt><span class="refentrytitle"><a href="API-struct-irb.html"><span class="phrase">struct irb</span></a></span><span class="refpurpose"> — interruption response block </span></dt><dt><span class="refentrytitle"><a href="API-struct-ciw.html"><span class="phrase">struct ciw</span></a></span><span class="refpurpose"> — command information word (CIW) layout </span></dt><dt><span class="refentrytitle"><a href="API-struct-ccw-dev-id.html"><span class="phrase">struct ccw_dev_id</span></a></span><span class="refpurpose"> — unique identifier for ccw devices </span></dt><dt><span class="refentrytitle"><a href="API-ccw-dev-id-is-equal.html"><span class="phrase">ccw_dev_id_is_equal</span></a></span><span class="refpurpose"> — compare two ccw_dev_ids </span></dt></dl></div><p> Some hardware structures have been translated into C structures for use by the common I/O layer and device drivers. For more information on the hardware structures represented here, please consult the Principles of Operation. </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="intro.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="API-struct-ccw1.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 1. Introduction </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">struct ccw1</span></td></tr></table></div></body></html>