Hi >@@ -463,13 +463,13 @@ static int simple_config(struct pcmcia_device *link) > /* If the card is already configured, look up the port and irq */ > if (link->function_config) { > unsigned int port = 0; >- if ((link->io.BasePort2 != 0) && >- (link->io.NumPorts2 == 8)) { >- port = link->io.BasePort2; >+ if ((link->resource[1]->end != 0) && >+ (resource_size(link->resource[1]) == 8)) { >+ port = link->resource[1]->end; > info->slave = 1; sorry, It should be link->resource[1]->start; (resource_size(link->resource[1]) == 8)) { port = link->resource[1]->start; << HERE!! -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html