Re: [PATCH] ppc64: Bump MAX_HWIFS in IDE code
From: Andrew Morton
Date: Tue Nov 09 2004 - 16:40:07 EST
Anton Blanchard <anton@xxxxxxxxx> wrote:
>
>
> > > 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.
>
> Ouch. BTW i386 has it set to 10, it should be looked at as well.
>
Oh, I failed to notice that it was a ppc64-specific header file. You can
afford 50k ;)
-
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/