plus3: add a header for generic 8bit IDE
authorAlan Cox <alan@linux.intel.com>
Sat, 12 Aug 2017 18:51:11 +0000 (19:51 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 12 Aug 2017 18:51:11 +0000 (19:51 +0100)
Kernel/platform-plus3/platform_ide.h [new file with mode: 0644]

diff --git a/Kernel/platform-plus3/platform_ide.h b/Kernel/platform-plus3/platform_ide.h
new file mode 100644 (file)
index 0000000..d797581
--- /dev/null
@@ -0,0 +1,15 @@
+/* Simple IDE interface */
+#define IDE_REG_DATA           0xA3
+#define IDE_REG_ERROR          0xA7
+#define IDE_REG_FEATURES       0xA7
+#define IDE_REG_SEC_COUNT      0xAB
+#define IDE_REG_LBA_0          0xAF
+#define IDE_REG_LBA_1          0xB3
+#define IDE_REG_LBA_2          0xB7
+#define IDE_REG_LBA_3          0xBB
+#define IDE_REG_DEVHEAD                0xBB
+#define IDE_REG_STATUS         0xBF
+#define IDE_REG_COMMAND                0xBF
+
+#define ide_select(x)
+#define ide_deselect()