~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/s390/cio/cio.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
                SUBCHANNEL_TYPE_MSG = 2,
85
85
                SUBCHANNEL_TYPE_ADM = 3,
86
86
        } st;                   /* subchannel type */
87
 
 
88
 
        struct {
89
 
                unsigned int suspend:1; /* allow suspend */
90
 
                unsigned int prefetch:1;/* deny prefetch */
91
 
                unsigned int inter:1;   /* suppress intermediate interrupts */
92
 
        } __attribute__ ((packed)) options;
93
 
 
94
87
        __u8 vpm;               /* verified path mask */
95
88
        __u8 lpm;               /* logical path mask */
96
89
        __u8 opm;               /* operational path mask */
99
92
        struct chsc_ssd_info ssd_info;  /* subchannel description */
100
93
        struct device dev;      /* entry in device tree */
101
94
        struct css_driver *driver;
102
 
        void *private; /* private per subchannel type data */
103
95
        enum sch_todo todo;
104
96
        struct work_struct todo_work;
105
97
        struct schib_config config;
106
98
} __attribute__ ((aligned(8)));
107
99
 
108
 
#define IO_INTERRUPT_TYPE          0 /* I/O interrupt type */
109
 
 
110
100
#define to_subchannel(n) container_of(n, struct subchannel, dev)
111
101
 
112
102
extern int cio_validate_subchannel (struct subchannel *, struct subchannel_id);
120
110
extern int cio_start_key (struct subchannel *, struct ccw1 *, __u8, __u8);
121
111
extern int cio_cancel (struct subchannel *);
122
112
extern int cio_set_options (struct subchannel *, int);
123
 
extern int cio_get_options (struct subchannel *);
124
113
extern int cio_update_schib(struct subchannel *sch);
125
114
extern int cio_commit_config(struct subchannel *sch);
126
115