File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -708,6 +708,12 @@ typedef struct _GP_LOG_NCQ_COMMAND_ERROR {
708708#define IDE_COMMAND_SECURITY_DISABLE_PASSWORD 0xF6
709709#define IDE_COMMAND_NOT_VALID 0xFF
710710
711+ #define IDE_SET_DEFAULT_PIO_MODE (mode ) ((UCHAR)1)
712+ #define IDE_SET_ADVANCE_PIO_MODE (mode ) ((UCHAR)((1 << 3) | (mode)))
713+ #define IDE_SET_SWDMA_MODE (mode ) ((UCHAR)((1 << 4) | (mode)))
714+ #define IDE_SET_MWDMA_MODE (mode ) ((UCHAR)((1 << 5) | (mode)))
715+ #define IDE_SET_UDMA_MODE (mode ) ((UCHAR)((1 << 6) | (mode)))
716+
711717#define IDE_FEATURE_ENABLE_WRITE_CACHE 0x2
712718#define IDE_FEATURE_SET_TRANSFER_MODE 0x3
713719#define IDE_FEATURE_ENABLE_PUIS 0x6
@@ -720,4 +726,8 @@ typedef struct _GP_LOG_NCQ_COMMAND_ERROR {
720726#define IDE_FEATURE_DISABLE_SATA_FEATURE 0x90
721727#define IDE_FEATURE_ENABLE_MSN 0x95
722728
729+ #define IDE_GP_LOG_NCQ_COMMAND_ERROR_ADDRESS 0x10
730+
731+ #define IDE_GP_LOG_SECTOR_SIZE 0x200
732+
723733#endif
You can’t perform that action at this time.
0 commit comments