[PATCH 11/18] pcmcia: do not use io_req_t when calling pcmcia_request_io()

Komuro komurojun-mbn at nifty.com
Sun Aug 8 09:07:31 EDT 2010


Hi,

> 
>-    link->io.IOAddrLines =10;
>-    link->io.Attributes1 = IO_DATA_PATH_WIDTH_16;
>+    link->resource[0]->flags |= IO_DATA_PATH_WIDTH_16;

link->io_lines should be set here?



>@@ -840,14 +839,15 @@ xirc2ps_config(struct pcmcia_device * link)
> 	}
> 	printk(KNOT_XIRC "no ports available\n");
>     } else {
>-	link->io.NumPorts1 = 16;
>+	link->io_lines = 10;
>+	link->resource[0]->end = 16;

Best Regards
Komuro




More information about the linux-pcmcia mailing list