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

Andrew Morton
2004-11-09T20:51:05Z

Anton Blanchard <anton@samba.org> 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@samba.org>
>
> 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.