* [PATCH] IDE: move CONFIG_IDE_MAX_HWIFS into linux/ide.h
@ 2005-09-16 17:33 Bjorn Helgaas
2005-11-09 21:53 ` Bartlomiej Zolnierkiewicz
0 siblings, 1 reply; 3+ messages in thread
From: Bjorn Helgaas @ 2005-09-16 17:33 UTC (permalink / raw)
To: Andrew Morton
Cc: Bartlomiej Zolnierkiewicz, Alan Cox, linux-kernel, linux-ide,
rth, ink, lethal, kkojima, linux-sh
CONFIG_IDE_MAX_HWIFS is a generic thing, no need to have it duplicated
by every arch that uses it.
Previous posts elicited no responses:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0508.3/0111.html
http://www.uwsg.iu.edu/hypermail/linux/kernel/0508.3/1299.html
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Index: work-ide/include/asm-alpha/ide.h
===================================================================
--- work-ide.orig/include/asm-alpha/ide.h 2005-08-24 09:36:41.000000000 -0600
+++ work-ide/include/asm-alpha/ide.h 2005-08-24 09:37:12.000000000 -0600
@@ -15,10 +15,6 @@
#include <linux/config.h>
-#ifndef MAX_HWIFS
-#define MAX_HWIFS CONFIG_IDE_MAX_HWIFS
-#endif
-
#define IDE_ARCH_OBSOLETE_DEFAULTS
static inline int ide_default_irq(unsigned long base)
Index: work-ide/include/asm-sh/ide.h
===================================================================
--- work-ide.orig/include/asm-sh/ide.h 2005-08-24 09:36:41.000000000 -0600
+++ work-ide/include/asm-sh/ide.h 2005-08-24 09:37:12.000000000 -0600
@@ -16,10 +16,6 @@
#include <linux/config.h>
-#ifndef MAX_HWIFS
-#define MAX_HWIFS CONFIG_IDE_MAX_HWIFS
-#endif
-
#define ide_default_io_ctl(base) (0)
#include <asm-generic/ide_iops.h>
Index: work-ide/include/asm-sh64/ide.h
===================================================================
--- work-ide.orig/include/asm-sh64/ide.h 2005-08-24 09:36:41.000000000 -0600
+++ work-ide/include/asm-sh64/ide.h 2005-08-24 09:37:12.000000000 -0600
@@ -17,10 +17,6 @@
#include <linux/config.h>
-#ifndef MAX_HWIFS
-#define MAX_HWIFS CONFIG_IDE_MAX_HWIFS
-#endif
-
/* Without this, the initialisation of PCI IDE cards end up calling
* ide_init_hwif_ports, which won't work. */
#ifdef CONFIG_BLK_DEV_IDEPCI
Index: work-ide/include/linux/ide.h
===================================================================
--- work-ide.orig/include/linux/ide.h 2005-08-24 09:37:03.000000000 -0600
+++ work-ide/include/linux/ide.h 2005-08-24 09:37:24.000000000 -0600
@@ -266,6 +266,10 @@
#include <asm/ide.h>
+#ifndef MAX_HWIFS
+#define MAX_HWIFS CONFIG_IDE_MAX_HWIFS
+#endif
+
/* needed on alpha, x86/x86_64, ia64, mips, ppc32 and sh */
#ifndef IDE_ARCH_OBSOLETE_DEFAULTS
# define ide_default_io_base(index) (0)
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH] IDE: move CONFIG_IDE_MAX_HWIFS into linux/ide.h
@ 2005-08-24 15:57 Bjorn Helgaas
0 siblings, 0 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2005-08-24 15:57 UTC (permalink / raw)
To: B.Zolnierkiewicz
Cc: linux-ide, linux-kernel, rth, ink, lethal, kkojima, linux-sh
CONFIG_IDE_MAX_HWIFS is a generic thing, no need to have it duplicated
by every arch that uses it.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Index: work-ide/include/asm-alpha/ide.h
===================================================================
--- work-ide.orig/include/asm-alpha/ide.h 2005-08-24 09:36:41.000000000 -0600
+++ work-ide/include/asm-alpha/ide.h 2005-08-24 09:37:12.000000000 -0600
@@ -15,10 +15,6 @@
#include <linux/config.h>
-#ifndef MAX_HWIFS
-#define MAX_HWIFS CONFIG_IDE_MAX_HWIFS
-#endif
-
#define IDE_ARCH_OBSOLETE_DEFAULTS
static inline int ide_default_irq(unsigned long base)
Index: work-ide/include/asm-sh/ide.h
===================================================================
--- work-ide.orig/include/asm-sh/ide.h 2005-08-24 09:36:41.000000000 -0600
+++ work-ide/include/asm-sh/ide.h 2005-08-24 09:37:12.000000000 -0600
@@ -16,10 +16,6 @@
#include <linux/config.h>
-#ifndef MAX_HWIFS
-#define MAX_HWIFS CONFIG_IDE_MAX_HWIFS
-#endif
-
#define ide_default_io_ctl(base) (0)
#include <asm-generic/ide_iops.h>
Index: work-ide/include/asm-sh64/ide.h
===================================================================
--- work-ide.orig/include/asm-sh64/ide.h 2005-08-24 09:36:41.000000000 -0600
+++ work-ide/include/asm-sh64/ide.h 2005-08-24 09:37:12.000000000 -0600
@@ -17,10 +17,6 @@
#include <linux/config.h>
-#ifndef MAX_HWIFS
-#define MAX_HWIFS CONFIG_IDE_MAX_HWIFS
-#endif
-
/* Without this, the initialisation of PCI IDE cards end up calling
* ide_init_hwif_ports, which won't work. */
#ifdef CONFIG_BLK_DEV_IDEPCI
Index: work-ide/include/linux/ide.h
===================================================================
--- work-ide.orig/include/linux/ide.h 2005-08-24 09:37:03.000000000 -0600
+++ work-ide/include/linux/ide.h 2005-08-24 09:37:24.000000000 -0600
@@ -266,6 +266,10 @@
#include <asm/ide.h>
+#ifndef MAX_HWIFS
+#define MAX_HWIFS CONFIG_IDE_MAX_HWIFS
+#endif
+
/* needed on alpha, x86/x86_64, ia64, mips, ppc32 and sh */
#ifndef IDE_ARCH_OBSOLETE_DEFAULTS
# define ide_default_io_base(index) (0)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-11-09 21:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-16 17:33 [PATCH] IDE: move CONFIG_IDE_MAX_HWIFS into linux/ide.h Bjorn Helgaas
2005-11-09 21:53 ` Bartlomiej Zolnierkiewicz
-- strict thread matches above, loose matches on Subject: below --
2005-08-24 15:57 Bjorn Helgaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®