2 * File...........: linux/drivers/s390/block/dasd_fba.h
3 * Author(s)......: Holger Smolinski <Holger.Smolinski@de.ibm.com>
4 * Bugreports.to..: <Linux390@de.ibm.com>
5 * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000
15 unsigned char perm:2; /* Permissions on this extent */
16 unsigned char zero:2; /* Must be zero */
17 unsigned char da:1; /* usually zero */
18 unsigned char diag:1; /* allow diagnose */
19 unsigned char zero2:2; /* zero */
20 } __attribute__ ((packed)) mask;
21 __u8 zero; /* Must be zero */
22 __u16 blk_size; /* Blocksize */
23 __u32 ext_loc; /* Extent locator */
24 __u32 ext_beg; /* logical number of block 0 in extent */
25 __u32 ext_end; /* logocal number of last block in extent */
26 } __attribute__ ((packed));
32 } __attribute__ ((packed)) operation;
36 } __attribute__ ((packed));
38 struct dasd_fba_characteristics {
42 unsigned char reserved:1;
43 unsigned char overrunnable:1;
44 unsigned char burst_byte:1;
45 unsigned char data_chain:1;
46 unsigned char zeros:4;
47 } __attribute__ ((packed)) bits;
48 } __attribute__ ((packed)) mode;
52 unsigned char zero0:1;
53 unsigned char removable:1;
54 unsigned char shared:1;
55 unsigned char zero1:1;
57 unsigned char zeros:3;
58 } __attribute__ ((packed)) bits;
59 } __attribute__ ((packed)) features;
71 } __attribute__ ((packed));
73 #endif /* DASD_FBA_H */