Commit 50d6df79 authored by Ivan Kokshaysky's avatar Ivan Kokshaysky Committed by Richard Henderson

[PATCH] alpha ide hwifs

From Jeff.Wiedemeier@hp.com:

Make the max IDE HWIFS configurable on alpha (default to
previous hardwired value of 4).
parent 9e42b25d
...@@ -772,6 +772,15 @@ config IDE ...@@ -772,6 +772,15 @@ config IDE
If unsure, say Y. If unsure, say Y.
config IDE_MAX_HWIFS
int "Max IDE interfaces"
depends on IDE
default 4
help
This is the maximum number of IDE hardware interfaces that will
be supported by the driver. Make sure it is at least as high as
the number IDE interfaces in your system.
source "drivers/ide/Kconfig" source "drivers/ide/Kconfig"
endmenu endmenu
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <linux/config.h> #include <linux/config.h>
#ifndef MAX_HWIFS #ifndef MAX_HWIFS
#define MAX_HWIFS 4 #define MAX_HWIFS CONFIG_IDE_MAX_HWIFS
#endif #endif
static __inline__ int ide_default_irq(ide_ioreg_t base) static __inline__ int ide_default_irq(ide_ioreg_t base)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment