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

Andrew Morton
2004-11-09T21:37:17Z

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