Go to the documentation of this file.
30 #ifndef _UAPI_LINUX_EDD_H
31 #define _UAPI_LINUX_EDD_H
33 #include <linux/types.h>
40 #define EDDPARMSIZE 74
41 #define CHECKEXTENSIONSPRESENT 0x41
42 #define GETDEVICEPARAMETERS 0x48
43 #define LEGACYGETDEVICEPARAMETERS 0x08
44 #define EDDMAGIC1 0x55AA
45 #define EDDMAGIC2 0xAA55
48 #define READ_SECTORS 0x02
49 #define EDD_MBR_SIG_OFFSET 0x1B8
50 #define EDD_MBR_SIG_BUF 0x290
51 #define EDD_MBR_SIG_MAX 16
52 #define EDD_MBR_SIG_NR_BUF 0x1ea
57 #define EDD_EXT_FIXED_DISK_ACCESS (1 << 0)
58 #define EDD_EXT_DEVICE_LOCKING_AND_EJECTING (1 << 1)
59 #define EDD_EXT_ENHANCED_DISK_DRIVE_SUPPORT (1 << 2)
60 #define EDD_EXT_64BIT_EXTENSIONS (1 << 3)
62 #define EDD_INFO_DMA_BOUNDARY_ERROR_TRANSPARENT (1 << 0)
63 #define EDD_INFO_GEOMETRY_VALID (1 << 1)
64 #define EDD_INFO_REMOVABLE (1 << 2)
65 #define EDD_INFO_WRITE_VERIFY (1 << 3)
66 #define EDD_INFO_MEDIA_CHANGE_NOTIFICATION (1 << 4)
67 #define EDD_INFO_LOCKABLE (1 << 5)
68 #define EDD_INFO_NO_MEDIA_PRESENT (1 << 6)
69 #define EDD_INFO_USE_INT13_FN50 (1 << 7)
185 unsigned char mbr_signature_nr;
186 unsigned char edd_info_nr;