1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Author(s)......: Holger Smolinski <Holger.Smolinski@de.ibm.com>
4 * Bugreports.to..: <Linux390@de.ibm.com>
5 * Coypright IBM Corp. 1999, 2000
14 unsigned char perm
:2; /* Permissions on this extent */
15 unsigned char zero
:2; /* Must be zero */
16 unsigned char da
:1; /* usually zero */
17 unsigned char diag
:1; /* allow diagnose */
18 unsigned char zero2
:2; /* zero */
19 } __attribute__ ((packed
)) mask
;
20 __u8 zero
; /* Must be zero */
21 __u16 blk_size
; /* Blocksize */
22 __u32 ext_loc
; /* Extent locator */
23 __u32 ext_beg
; /* logical number of block 0 in extent */
24 __u32 ext_end
; /* logocal number of last block in extent */
25 } __attribute__ ((packed
));
31 } __attribute__ ((packed
)) operation
;
35 } __attribute__ ((packed
));
37 struct dasd_fba_characteristics
{
41 unsigned char reserved
:1;
42 unsigned char overrunnable
:1;
43 unsigned char burst_byte
:1;
44 unsigned char data_chain
:1;
45 unsigned char zeros
:4;
46 } __attribute__ ((packed
)) bits
;
47 } __attribute__ ((packed
)) mode
;
51 unsigned char zero0
:1;
52 unsigned char removable
:1;
53 unsigned char shared
:1;
54 unsigned char zero1
:1;
56 unsigned char zeros
:3;
57 } __attribute__ ((packed
)) bits
;
58 } __attribute__ ((packed
)) features
;
70 } __attribute__ ((packed
));
72 #endif /* DASD_FBA_H */