-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 324064 b: refs/heads/master c: d2fc439 h: refs/heads/master v: v3
- Loading branch information
Sebastian Ott
authored and
Martin Schwidefsky
committed
Sep 26, 2012
1 parent
98448bf
commit 2613cb4
Showing
5 changed files
with
160 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 382b73663529b756914cf17a9912c9cf00cf0025 | ||
refs/heads/master: d2fc439b99820cccd6978918c260730dd97bf373 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
#ifndef _ASM_S390_EADM_H | ||
#define _ASM_S390_EADM_H | ||
|
||
#include <linux/types.h> | ||
|
||
struct arqb { | ||
u64 data; | ||
u16 fmt:4; | ||
u16:12; | ||
u16 cmd_code; | ||
u16:16; | ||
u16 msb_count; | ||
u32 reserved[12]; | ||
} __packed; | ||
|
||
#define ARQB_CMD_MOVE 1 | ||
|
||
struct arsb { | ||
u16 fmt:4; | ||
u32:28; | ||
u8 ef; | ||
u8:8; | ||
u8 ecbi; | ||
u8:8; | ||
u8 fvf; | ||
u16:16; | ||
u8 eqc; | ||
u32:32; | ||
u64 fail_msb; | ||
u64 fail_aidaw; | ||
u64 fail_ms; | ||
u64 fail_scm; | ||
u32 reserved[4]; | ||
} __packed; | ||
|
||
struct msb { | ||
u8 fmt:4; | ||
u8 oc:4; | ||
u8 flags; | ||
u16:12; | ||
u16 bs:4; | ||
u32 blk_count; | ||
u64 data_addr; | ||
u64 scm_addr; | ||
u64:64; | ||
} __packed; | ||
|
||
struct aidaw { | ||
u8 flags; | ||
u32 :24; | ||
u32 :32; | ||
u64 data_addr; | ||
} __packed; | ||
|
||
#define MSB_OC_CLEAR 0 | ||
#define MSB_OC_READ 1 | ||
#define MSB_OC_WRITE 2 | ||
#define MSB_OC_RELEASE 3 | ||
|
||
#define MSB_FLAG_BNM 0x80 | ||
#define MSB_FLAG_IDA 0x40 | ||
|
||
#define MSB_BS_4K 0 | ||
#define MSB_BS_1M 1 | ||
|
||
#define AOB_NR_MSB 124 | ||
|
||
struct aob { | ||
struct arqb request; | ||
struct arsb response; | ||
struct msb msb[AOB_NR_MSB]; | ||
} __packed __aligned(PAGE_SIZE); | ||
|
||
#endif /* _ASM_S390_EADM_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters