summaryrefslogtreecommitdiffstats
path: root/RedirectionConstants.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2022-04-12 17:56:51 +0200
committerGerd Hoffmann <kraxel@redhat.com>2022-04-22 14:52:30 +0200
commit25345c01299a8a5b8e2ebfcfea638eee1b05fc8b (patch)
tree19e9841fa33bacd8afa74a8b032dc8365f172c19 /RedirectionConstants.h
parentc5ab43449b440e63313e4cad5c6fbfb03f5397f6 (diff)
downloadamtterm-25345c01299a8a5b8e2ebfcfea638eee1b05fc8b.tar.gz
ider: implement data_to_host
Diffstat (limited to 'RedirectionConstants.h')
-rw-r--r--RedirectionConstants.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/RedirectionConstants.h b/RedirectionConstants.h
index fcced21..f677922 100644
--- a/RedirectionConstants.h
+++ b/RedirectionConstants.h
@@ -78,7 +78,7 @@
#define IDER_ERROR_MASK 0x02
#define IDER_SECTOR_COUNT_MASK 0x04
#define IDER_SECTOR_NUM_MASK 0x08
-#define IDER_BYTE_CNT_LSG_MASK 0x10
+#define IDER_BYTE_CNT_LSB_MASK 0x10
#define IDER_BYTE_CNT_MSB_MASK 0x20
#define IDER_DRIVE_SELECT_MASK 0x40
#define IDER_STATUS_MASK 0x80
@@ -88,8 +88,8 @@
#define IDER_STATUS_DRDY 0x40
#define IDER_STATUS_DF 0x20
#define IDER_STATUS_DSC 0x10
-#define IDER_STATUS_DRQ 0x80
-#define IDER_STATUS_CORR 0x40
+#define IDER_STATUS_DRQ 0x08
+#define IDER_STATUS_CORR 0x04
#define IDER_STATUS_IDX 0x02
#define IDER_STATUS_ERR 0x01