Hi, For example, when we use the resource[2], we should set WIN_FLAGS_WIN_2 to link->resource[2]->flags ?
Otherwise, pcmcia_request_window uses WIN_0. link->resource[2]->flags |= WIN_DATA_WIDTH_8|WIN_MEMORY_TYPE_AM|WIN_ENABLE; link->resource[2]->start = 0; link->resource[2]->end = 0; i = pcmcia_request_window(link, link->resource[2], 0); > >Hey Komuro, > >On Sun, Jul 24, 2011 at 12:28:10PM +0900, Komuro wrote: >> Hi, >> >> I think we need WIN_FLAGS_WIN_0, 1, 2, 3 definition below >> >> any comment? > >What do we need these definitions for? I don't remember any driver >which would require such a definition? AFAICT this is only used internally >in pcmcia/pcmcia_resource.c ? > >Best, > Dominik Best Regards Komuro _______________________________________________ Linux PCMCIA reimplementation list http://lists.infradead.org/mailman/listinfo/linux-pcmcia