patch-2.2.15 linux/arch/s390/kernel/s390io.h
Next file: linux/arch/s390/kernel/s390ksyms.c
Previous file: linux/arch/s390/kernel/s390io.c
Back to the patch index
Back to the overall index
- Lines: 73
- Date:
Thu Jan 1 01:00:00 1970
- Orig file:
v2.2.14/arch/s390/kernel/s390io.h
- Orig date:
Tue Jan 4 21:18:41 2000
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/arch/s390/kernel/s390io.h linux/arch/s390/kernel/s390io.h
@@ -1,72 +0,0 @@
-/*
- * arch/s390/kernel/s390io.h
- *
- * S390 version
- * Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation
- * Author(s): Ingo Adlung (adlung@de.ibm.com)
- */
-
-#ifndef __s390io_h
-#define __s390io_h
-
-/*
- * Private data structure used by do_IO()
- *
- * Note : If bit flags are added, the "unused" value must be
- * decremented accordingly !
- */
-typedef struct {
- unsigned int irq; /* aka. subchannel number */
- union {
- unsigned int info;
- struct {
- unsigned int busy : 1; /* device currently in use */
- unsigned int oper : 1; /* device is operational */
- unsigned int fast : 1; /* post with "channel end", ... */
- /* ... don't wait for "device end" */
- /* ... from do_IO() parameters */
- unsigned int ready : 1; /* interrupt handler registered */
- unsigned int haltio : 1; /* halt_IO in process */
- unsigned int doio : 1; /* do_IO in process */
- unsigned int doio_q : 1; /* do_IO queued - only possible ... */
- /* ... if 'fast' is set too */
- unsigned int w4final : 1; /* wait for final status, internally */
- /* ... used with 'fast' setting only */
- unsigned int repall : 1; /* report every interrupt status */
- unsigned int unready : 1; /* deregister irq handler in process */
- unsigned int d_disable : 1; /* delayed disabling required */
- unsigned int w4sense : 1; /* SENSE status pending */
- unsigned int syncio : 1; /* synchronous I/O requested */
- unsigned int consns : 1; /* concurrent sense is available */
- unsigned int delsense : 1; /* delayed SENSE required */
- unsigned int s_pend : 1; /* status pending condition */
- unsigned int unused : 16; /* unused */
- } __attribute__ ((packed)) flags;
- } ui;
- unsigned int lpm; /* logical path mask to be used ... */
- /* ... from do_IO() parms. Only ... */
- /* ... valid if vlpm is set too. */
- schib_t schib; /* subchannel information block */
- orb_t orb; /* operation request block */
- devstat_t devstat; /* device status */
- ccw1_t *qcpa; /* queued channel program */
- ccw1_t senseccw; /* ccw for sense command */
- unsigned int stctl; /* accumulated status control from irb */
- unsigned int qintparm; /* queued interruption parameter */
- unsigned long qflag; /* queued flags */
- unsigned char qlpm; /* queued logical path mask */
-
- } __attribute__ ((aligned(8))) ioinfo_t;
-
-#define IOINFO_FLAGS_BUSY 0x80000000
-#define IOINFO_FLAGS_OPER 0x40000000
-#define IOINFO_FLAGS_FAST 0x20000000
-#define IOINFO_FLAGS_READY 0x10000000
-#define IOINFO_FLAGS_HALTIO 0x08000000
-#define IOINFO_FLAGS_DOIO 0x04000000
-#define IOINFO_FLAGS_DOIO_Q 0x02000000
-#define IOINFO_FLAGS_W4FINAL 0x01000000
-#define IOINFO_FLAGS_REPALL 0x00800000
-
-#endif /* __s390io_h */
-
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)