/* The dev_link structure is initialized, but we don't actually configure the card at this point  */
static int if_cs_ioprobe(struct pcmcia_device *p_dev, cistpl_cftable_entry_t *cfg, cistpl_cftable_entry_t *dflt, unsigned int vcc, void *priv_data)
/* The dev_link structure is initialized, but we don't actually configure the card at this point  */
static int if_cs_ioprobe(struct pcmcia_device *p_dev, cistpl_cftable_entry_t *cfg, cistpl_cftable_entry_t *dflt, unsigned int vcc, void *priv_data)
{
	p_dev->io.Attributes1 = IO_DATA_PATH_WIDTH_AUTO;
	p_dev->io.BasePort1 = cfg->io.win[0].base;
	p_dev->io.NumPorts1 = cfg->io.win[0].len;
	if (cfg->irq.IRQInfo1)
		p_dev->conf.Attributes |= CONF_ENABLE_IRQ;
	if (cfg->io.nwin != 1) {
		lbs_pr_err("wrong CIS (check number of IO windows)\n");
		return -ENODEV;
	}
	return pcmcia_request_io(p_dev, &p_dev->io);
}