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

index b9ae7e4..f184f43 100644 (file)
 #define MAX_BLKDEV  2              /* 2 IDE drives */
 
 #define DEVICE_IDE                  /* enable if IDE interface present */
-#define IDE_REG_BASE       0x50
-#define IDE_REG_CS0_FIRST
-#define IDE_REG_CS0_BASE   (IDE_REG_BASE+0x00)
-#define IDE_REG_CS1_BASE   (IDE_REG_BASE+0x08)
 
 /* We have a DS1302, we can read the time of day from it */
 #define CONFIG_RTC
diff --git a/Kernel/platform-p112/platform_ide.h b/Kernel/platform-p112/platform_ide.h
new file mode 100644 (file)
index 0000000..62879ce
--- /dev/null
@@ -0,0 +1,7 @@
+#define ide_select(x)
+#define ide_deselect()
+
+#define IDE_REG_BASE       0x50
+#define IDE_REG_CS0_FIRST
+#define IDE_REG_CS0_BASE   (IDE_REG_BASE+0x00)
+#define IDE_REG_CS1_BASE   (IDE_REG_BASE+0x08)