aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/drivers/ide.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/inc/drivers/ide.h')
-rw-r--r--kernel/inc/drivers/ide.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/inc/drivers/ide.h b/kernel/inc/drivers/ide.h
index dbe0652..f4b4c7d 100644
--- a/kernel/inc/drivers/ide.h
+++ b/kernel/inc/drivers/ide.h
@@ -8,7 +8,7 @@
#define BLOCK_SIZE 1024
#define BLOCK_COUNT 256 // BLOCK_SIZE / sizeof(u32)
#define SECTOR_SIZE 512
-#define SECTOR_COUNT (BLOCK_SIZE / SECTOR_SIZE)
+#define SECTOR_COUNT (BLOCK_SIZE / SECTOR_SIZE) // 2
#define ATA_PRIMARY_IO 0x1f0
#define ATA_SECONDARY_IO 0x170