1<html><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 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">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 name="ccw"></a>Chapter 2. The ccw bus</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></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> 2 The ccw bus typically contains the majority of devices available to 3 a s390 system. Named after the channel command word (ccw), the basic 4 command structure used to address its devices, the ccw bus contains 5 so-called channel attached devices. They are addressed via I/O 6 subchannels, visible on the css bus. A device driver for 7 channel-attached devices, however, will never interact with the 8 subchannel directly, but only via the I/O device on the ccw bus, 9 the ccw device. 10 </p><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="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"> — 11 channel command word 12 </span></dt><dt><span class="refentrytitle"><a href="API-struct-erw.html"><span class="phrase">struct erw</span></a></span><span class="refpurpose"> — 13 extended report word 14 </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"> — 15 EADM Subchannel extended report word 16 </span></dt><dt><span class="refentrytitle"><a href="API-struct-sublog.html"><span class="phrase">struct sublog</span></a></span><span class="refpurpose"> — 17 subchannel logout area 18 </span></dt><dt><span class="refentrytitle"><a href="API-struct-esw0.html"><span class="phrase">struct esw0</span></a></span><span class="refpurpose"> — 19 Format 0 Extended Status Word (ESW) 20 </span></dt><dt><span class="refentrytitle"><a href="API-struct-esw1.html"><span class="phrase">struct esw1</span></a></span><span class="refpurpose"> — 21 Format 1 Extended Status Word (ESW) 22 </span></dt><dt><span class="refentrytitle"><a href="API-struct-esw2.html"><span class="phrase">struct esw2</span></a></span><span class="refpurpose"> — 23 Format 2 Extended Status Word (ESW) 24 </span></dt><dt><span class="refentrytitle"><a href="API-struct-esw3.html"><span class="phrase">struct esw3</span></a></span><span class="refpurpose"> — 25 Format 3 Extended Status Word (ESW) 26 </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"> — 27 EADM Subchannel Extended Status Word (ESW) 28 </span></dt><dt><span class="refentrytitle"><a href="API-struct-irb.html"><span class="phrase">struct irb</span></a></span><span class="refpurpose"> — 29 interruption response block 30 </span></dt><dt><span class="refentrytitle"><a href="API-struct-ciw.html"><span class="phrase">struct ciw</span></a></span><span class="refpurpose"> — 31 command information word (CIW) layout 32 </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"> — 33 unique identifier for ccw devices 34 </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"> — 35 compare two ccw_dev_ids 36 </span></dt></dl></div><p> 37 Some hardware structures have been translated into C structures for use 38 by the common I/O layer and device drivers. For more information on 39 the hardware structures represented here, please consult the Principles 40 of Operation. 41 </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> 42