Re: [PATCH] IDE update for 2.6.7-rc3 [4/12]

From: Bartlomiej Zolnierkiewicz
Date: Fri Jun 11 2004 - 13:45:07 EST


On Friday 11 of June 2004 20:11, Paul Mundt wrote:
> On Fri, Jun 11, 2004 at 05:55:02PM +0200, Bartlomiej Zolnierkiewicz wrote:
> > [PATCH] ide: kill hw_regs_t->dma
> >
> > hw_regs_t->dma is needed only by icside.c so make it local to this driver
> > (add unsigned int dma to struct icside_state) and kill it from hw_regs_t.
> > This allows us also to remove arm specific NO_DMA define from
> > <linux/ide.h>.
>
> sh will be making use of this as well for multiple drivers. Obviously we
> can make this local to each driver though if that's going to be the
> preferred approach.

Currently it is used only by icside for storing DMA number
from struct expansion_card. What is the usage pattern on sh?

-
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/