]> err.no Git - linux-2.6/commitdiff
[libata] No need for all those arch libata-portmap.h headers
authorJeff Garzik <jeff@garzik.org>
Mon, 25 Sep 2006 19:33:09 +0000 (15:33 -0400)
committerJeff Garzik <jeff@garzik.org>
Mon, 25 Sep 2006 19:33:09 +0000 (15:33 -0400)
They all contain the same thing.  Instead, have a single generic one in
include/asm-generic, and permit an arch to override as needed.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
include/asm-alpha/libata-portmap.h [deleted file]
include/asm-frv/libata-portmap.h [deleted file]
include/asm-i386/libata-portmap.h [deleted file]
include/asm-ia64/libata-portmap.h [deleted file]
include/asm-powerpc/libata-portmap.h [deleted file]
include/asm-sparc/libata-portmap.h [deleted file]
include/asm-sparc64/libata-portmap.h [deleted file]
include/asm-x86_64/libata-portmap.h [deleted file]
include/linux/libata.h

diff --git a/include/asm-alpha/libata-portmap.h b/include/asm-alpha/libata-portmap.h
deleted file mode 100644 (file)
index 75484ef..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/libata-portmap.h>
diff --git a/include/asm-frv/libata-portmap.h b/include/asm-frv/libata-portmap.h
deleted file mode 100644 (file)
index 75484ef..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/libata-portmap.h>
diff --git a/include/asm-i386/libata-portmap.h b/include/asm-i386/libata-portmap.h
deleted file mode 100644 (file)
index 75484ef..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/libata-portmap.h>
diff --git a/include/asm-ia64/libata-portmap.h b/include/asm-ia64/libata-portmap.h
deleted file mode 100644 (file)
index 75484ef..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/libata-portmap.h>
diff --git a/include/asm-powerpc/libata-portmap.h b/include/asm-powerpc/libata-portmap.h
deleted file mode 100644 (file)
index 75484ef..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/libata-portmap.h>
diff --git a/include/asm-sparc/libata-portmap.h b/include/asm-sparc/libata-portmap.h
deleted file mode 100644 (file)
index 75484ef..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/libata-portmap.h>
diff --git a/include/asm-sparc64/libata-portmap.h b/include/asm-sparc64/libata-portmap.h
deleted file mode 100644 (file)
index 75484ef..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/libata-portmap.h>
diff --git a/include/asm-x86_64/libata-portmap.h b/include/asm-x86_64/libata-portmap.h
deleted file mode 100644 (file)
index 75484ef..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/libata-portmap.h>
index 1ef3d3901b479450339bc7389fe0ed30f9a029d3..d6a3d4b345fc7b6f26dbd9c035178eabaf2120dd 100644 (file)
 #include <linux/workqueue.h>
 #include <scsi/scsi_host.h>
 
+/*
+ * Define if arch has non-standard setup.  This is a _PCI_ standard
+ * not a legacy or ISA standard.
+ */
+#ifdef CONFIG_ATA_NONSTANDARD
 #include <asm/libata-portmap.h>
+#else
+#include <asm-generic/libata-portmap.h>
+#endif
 
 /*
  * compile-time options: to be removed as soon as all the drivers are