Writing s390 channel device drivers

Cornelia Huck


       
     

This documentation is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

For more details see the file COPYING in the source distribution of Linux.


Table of Contents

1. Introduction
2. The ccw bus
I/O functions for channel-attached devices
ccw devices
The channel-measurement facility
3. The ccwgroup bus
ccw group devices
4. Generic interfaces
register_adapter_interrupt — register adapter interrupt handler
unregister_adapter_interrupt — unregister adapter interrupt handler
airq_iv_create — create an interrupt vector
airq_iv_release — release an interrupt vector
airq_iv_alloc — allocate irq bits from an interrupt vector
airq_iv_free — free irq bits of an interrupt vector
airq_iv_scan — scan interrupt vector for non-zero bits