On Mon, Oct 01, 2007 at 01:41:15PM -0500, Linas Vepstas wrote:
> -     if (type & IORESOURCE_IO) {
> -             if ((yenta_search_res(socket, res, BRIDGE_IO_MAX)) ||
> -                 (yenta_search_res(socket, res, BRIDGE_IO_ACC)) ||
> -                 (yenta_search_res(socket, res, BRIDGE_IO_MIN)))
> -                     return 1;
> -     } else {
> -             if (type & IORESOURCE_PREFETCH) {
> -                     if ((yenta_search_res(socket, res, BRIDGE_MEM_MAX)) ||
> -                         (yenta_search_res(socket, res, BRIDGE_MEM_ACC)) ||
> -                         (yenta_search_res(socket, res, BRIDGE_MEM_MIN)))
> -                             return 1;
> -                     /* Approximating prefetchable by non-prefetchable */
> -                     res->flags = IORESOURCE_MEM;
> -             }
> +     if ((yenta_search_res(socket, res, BRIDGE_MEM_MAX)) ||
> +         (yenta_search_res(socket, res, BRIDGE_MEM_ACC)) ||
> +         (yenta_search_res(socket, res, BRIDGE_MEM_MIN)))

Are BRIDGE_IO_MAX and BRIDGE_MEM_MAX guaranteed to be the same?

-- 
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."

_______________________________________________
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia

Reply via email to