[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200712301817.40456.bzolnier@gmail.com>
Date: Sun, 30 Dec 2007 18:17:40 +0100
From: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
To: Sergei Shtylyov <sshtylyov@...mvista.com>
Cc: linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] ide: add IDE_HFLAG_NO_DSC host flag
On Saturday 29 December 2007, Sergei Shtylyov wrote:
> Bartlomiej Zolnierkiewicz wrote:
> > * Add IDE_HFLAG_NO_DSC host flag for hosts that doesn't support DSC overlap.
>
> > * Set it in aec62xx (for ATP850UF only) and hpt34x host drivers.
>
> > * Convert ide-tape device driver to check for IDE_HFLAG_NO_DSC flag.
>
> > Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
>
> Acked-by: Sergei Shtylyov <sshtylyov@...mvista.com>
>
> > Index: b/include/linux/ide.h
> > ===================================================================
> > --- a/include/linux/ide.h
> > +++ b/include/linux/ide.h
> > @@ -1098,6 +1098,8 @@ enum {
> > IDE_HFLAG_CY82C693 = (1 << 27),
> > /* force host out of "simplex" mode */
> > IDE_HFLAG_CLEAR_SIMPLEX = (1 << 28),
> > + /* DSC overlap is unsupported */
> > + IDE_HFLAG_NO_DSC = (1 << 29),
> > };
>
> Too many flags -- you'll run out of sizeof(unsigned) soon. :-)
Actually I'm already one bit short for WIP patches.... :)
I can compensate for it by using the same bit for IDE_HFLAG_CS5520
and IDE_HFLAG_VDMA for now (they are set only by cs5520 host driver)
but long-term we should get rid of some flags (IDE_HFLAG_ABUSE*,
especially IDE_HFLAG_ABUSE_DMA_MODES, sound like a good candidates
for extermination) or make flags field u64 (eeew)...
Bart
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists