aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/chsc.h
diff options
context:
space:
mode:
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>2007-04-27 10:01:26 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-04-27 10:01:38 -0400
commitf86635fad14c4a6810cf0e08488fc9129a3b3b32 (patch)
treeabd431344a28415983f6dcabdc3ac3ce5675e519 /drivers/s390/cio/chsc.h
parent6fc321fd7dd91f0592f37503219196835314fbb7 (diff)
[S390] cio: Introduce struct chp_id.
Introduce data type for channel-path IDs. Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/chsc.h')
-rw-r--r--drivers/s390/cio/chsc.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/s390/cio/chsc.h b/drivers/s390/cio/chsc.h
index 0fb2b024208f..2949c85b6d92 100644
--- a/drivers/s390/cio/chsc.h
+++ b/drivers/s390/cio/chsc.h
@@ -1,6 +1,10 @@
1#ifndef S390_CHSC_H 1#ifndef S390_CHSC_H
2#define S390_CHSC_H 2#define S390_CHSC_H
3 3
4#include <linux/types.h>
5#include <linux/device.h>
6#include "chpid.h"
7
4#define CHSC_SEI_ACC_CHPID 1 8#define CHSC_SEI_ACC_CHPID 1
5#define CHSC_SEI_ACC_LINKADDR 2 9#define CHSC_SEI_ACC_LINKADDR 2
6#define CHSC_SEI_ACC_FULLLINKADDR 3 10#define CHSC_SEI_ACC_FULLLINKADDR 3
@@ -34,7 +38,7 @@ struct channel_path_desc {
34} __attribute__ ((packed)); 38} __attribute__ ((packed));
35 39
36struct channel_path { 40struct channel_path {
37 int id; 41 struct chp_id chpid;
38 int state; 42 int state;
39 struct channel_path_desc desc; 43 struct channel_path_desc desc;
40 /* Channel-measurement related stuff: */ 44 /* Channel-measurement related stuff: */
@@ -46,7 +50,7 @@ struct channel_path {
46 50
47extern void s390_process_css( void ); 51extern void s390_process_css( void );
48extern void chsc_validate_chpids(struct subchannel *); 52extern void chsc_validate_chpids(struct subchannel *);
49extern void chpid_is_actually_online(int); 53extern void chpid_is_actually_online(struct chp_id);
50extern int css_get_ssd_info(struct subchannel *); 54extern int css_get_ssd_info(struct subchannel *);
51extern int chsc_process_crw(void); 55extern int chsc_process_crw(void);
52extern int chp_process_crw(int, int); 56extern int chp_process_crw(int, int);