Commit 86f52e0f authored by Luis F. Ortiz's avatar Luis F. Ortiz Committed by David S. Miller

[SPARC64]: Define IDE MAX_HWIFS like x86.

parent 99447171
...@@ -17,8 +17,13 @@ ...@@ -17,8 +17,13 @@
#include <asm/page.h> #include <asm/page.h>
#include <asm/spitfire.h> #include <asm/spitfire.h>
#undef MAX_HWIFS #ifndef MAX_HWIFS
# ifdef CONFIG_BLK_DEV_IDEPCI
#define MAX_HWIFS 10
# else
#define MAX_HWIFS 2 #define MAX_HWIFS 2
# endif
#endif
static __inline__ int ide_default_irq(unsigned long base) static __inline__ int ide_default_irq(unsigned long 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