[ds.h] need WIN_FLAGS_WIN_0, 1, 2, 3 definition

Dominik Brodowski linux at dominikbrodowski.net
Sun Jul 24 07:18:45 EDT 2011


Hey,

On Sun, Jul 24, 2011 at 08:08:11PM +0900, Komuro wrote:
> For example,
> when we use the resource[2], we should set WIN_FLAGS_WIN_2
> to link->resource[2]->flags ?

No, that's not necessary. The driver should not care which window is used;
that's the job of pcmcia_resource.c . Furthermore, resource[2] is typically
associated with the first iomem window; resource[0] and [1] are for ioports.

> Otherwise, pcmcia_request_window uses WIN_0.

Is there a problem with that?

Best,
	Dominik



More information about the linux-pcmcia mailing list