Re: [PATCH 6/14] FRV: IDE fixes

From: Bartlomiej Zolnierkiewicz
Date: Mon Nov 01 2004 - 20:36:34 EST


On Mon, 01 Nov 2004 22:53:06 +0000, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> On Llu, 2004-11-01 at 19:30, dhowells@xxxxxxxxxx wrote:
> > memset(&hwif->hw, 0, sizeof(hwif->hw));
> > +#ifndef IDE_ARCH_OBSOLETE_INIT
> > + ide_std_init_ports(&hwif->hw, base, (ctl | 2));
> > + hwif->hw.io_ports[IDE_IRQ_OFFSET] = 0;
> > +#else
> > ide_init_hwif_ports(&hwif->hw, base, (ctl | 2), NULL);
> > +#endif
>
> Do you really need this, and if so please why ?

Because IDE_ARCH_OBSOLETE_INIT is not defined? [ See ide.h. ]
-
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/