firewire: Loop requests to the host controller back into the stack.
[linux-2.6/mini2440.git] / include / asm-s390 / sclp.h
blob468b970184057b78251ccfb7f8bbddd6e63d333e
1 /*
2 * include/asm-s390/sclp.h
4 * Copyright IBM Corp. 2007
5 * Author(s): Heiko Carstens <heiko.carstens@de.ibm.com>
6 */
8 #ifndef _ASM_S390_SCLP_H
9 #define _ASM_S390_SCLP_H
11 #include <linux/types.h>
13 struct sccb_header {
14 u16 length;
15 u8 function_code;
16 u8 control_mask[3];
17 u16 response_code;
18 } __attribute__((packed));
20 #define LOADPARM_LEN 8
22 struct sclp_readinfo_sccb {
23 struct sccb_header header; /* 0-7 */
24 u16 rnmax; /* 8-9 */
25 u8 rnsize; /* 10 */
26 u8 _reserved0[24 - 11]; /* 11-23 */
27 u8 loadparm[LOADPARM_LEN]; /* 24-31 */
28 u8 _reserved1[91 - 32]; /* 32-90 */
29 u8 flags; /* 91 */
30 u8 _reserved2[100 - 92]; /* 92-99 */
31 u32 rnsize2; /* 100-103 */
32 u64 rnmax2; /* 104-111 */
33 u8 _reserved3[4096 - 112]; /* 112-4095 */
34 } __attribute__((packed, aligned(4096)));
36 extern struct sclp_readinfo_sccb s390_readinfo_sccb;
37 extern void sclp_readinfo_early(void);
39 #endif /* _ASM_S390_SCLP_H */