patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / drivers / s390 / cio / chsc.h
1 #ifndef S390_CHSC_H
2 #define S390_CHSC_H
3
4 #define NR_CHPIDS 256
5
6 #define CHSC_SEI_ACC_CHPID        1
7 #define CHSC_SEI_ACC_LINKADDR     2
8 #define CHSC_SEI_ACC_FULLLINKADDR 3
9
10 struct chsc_header {
11         u16 length;
12         u16 code;
13 };
14
15 struct channel_path {
16         int id;
17         int state;
18         struct device dev;
19 };
20
21 extern struct channel_path *chps[];
22
23 extern void s390_process_css( void );
24 extern void chsc_validate_chpids(struct subchannel *);
25 extern void chpid_is_actually_online(int);
26 #endif