summaryrefslogtreecommitdiff
path: root/dev/ide_disk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dev/ide_disk.cc')
-rw-r--r--dev/ide_disk.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/ide_disk.cc b/dev/ide_disk.cc
index 98f2ee7d5..74d2ae6de 100644
--- a/dev/ide_disk.cc
+++ b/dev/ide_disk.cc
@@ -226,10 +226,10 @@ IdeDisk::read(const Addr &offset, RegType_t type, uint8_t *data)
switch (offset) {
// Data transfers occur 16 bits at a time
case DATA_OFFSET:
- // use memcpy to preserve little-endianess
+ // use memcpy to preserve IDE's little-endianess
memcpy(data, &cmdReg.data, sizeof(uint16_t));
break;
- // All other transfers are 8 bit
+ // All other transfers are 8-bit
case ERROR_OFFSET:
*data = cmdReg.error;
break;