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

From: Paul Mundt
Date: Fri Jun 11 2004 - 13:12:17 EST


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.

Attachment: pgp00000.pgp
Description: PGP signature