Re: [PATCH] ppc64: Bump MAX_HWIFS in IDE code

From: Andrew Morton
Date: Tue Nov 09 2004 - 15:53:32 EST


Anton Blanchard <anton@xxxxxxxxx> wrote:
>
>
> When fully configured, some POWER5 boxes can have much more than 4 IDE
> interfaces. Increase the limit to reflect this.
>
> Signed-off-by: Anton Blanchard <anton@xxxxxxxxx>
>
> diff -puN include/asm-ppc64/ide.h~bump_ide_hwifs include/asm-ppc64/ide.h
> --- gr_work/include/asm-ppc64/ide.h~bump_ide_hwifs 2004-08-25 08:11:54.357759525 -0500
> +++ gr_work-anton/include/asm-ppc64/ide.h 2004-08-25 08:11:54.366758100 -0500
> @@ -19,7 +19,7 @@
> #ifdef __KERNEL__
>
> #ifndef MAX_HWIFS
> -# define MAX_HWIFS 4
> +# define MAX_HWIFS 16
> #endif

hrmph. That costs 50kbytes, excluding ide-tape. It's worth a config
variable, I think.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/