zx128: platform_ide.h
authorAlan Cox <alan@linux.intel.com>
Fri, 9 Oct 2015 15:18:17 +0000 (16:18 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 9 Oct 2015 15:18:17 +0000 (16:18 +0100)
Kernel/platform-zx128/config.h
Kernel/platform-zx128/platform_ide.h [new file with mode: 0644]

index 9c90633..5b87221 100644 (file)
@@ -1,16 +1,4 @@
-/* Simple IDE interface */
 #define CONFIG_IDE
-#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
 
 /* Enable to make ^Z dump the inode table for debug */
 #undef CONFIG_IDUMP
diff --git a/Kernel/platform-zx128/platform_ide.h b/Kernel/platform-zx128/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()