tuple.DesiredTuple = 0x90; i = pcmcia_get_first_tuple(handle, &tuple); 
tuple->DesiredTuple = 0x90; i = pcmcia_get_first_tuple(handle, tuple); 
static int osi_setup(dev_link_t *link, u_short manfid, u_short cardid){    client_handle_t handle = link->handle;    struct net_device *dev = link->priv;    tuple_t tuple;    u_char buf[255];    int i;    tuple.Attributes = TUPLE_RETURN_COMMON;    tuple.TupleData = buf;    tuple.TupleDataMax = sizeof(buf);    tuple.TupleOffset = 0;    /* Read the station address from tuple 0x90, subtuple 0x04 */    tuple.DesiredTuple = 0x90;    i = pcmcia_get_first_tuple(handle, &tuple);    while (i == CS_SUCCESS) {	i = pcmcia_get_tuple_data(handle, &tuple);	if ((i != CS_SUCCESS) || (buf[0] == 0x04))	    break;	i = pcmcia_get_next_tuple(handle, &tuple);    }    if (i != CS_SUCCESS)	return -1;    for (i = 0; i < 6; i++)	dev->dev_addr[i] = buf[i+2];    if (((manfid == MANFID_OSITECH) &&	 (cardid == PRODID_OSITECH_SEVEN)) ||	((manfid == MANFID_PSION) &&	 (cardid == PRODID_PSION_NET100))) {	/* Download the Seven of Diamonds firmware */	for (i = 0; i < sizeof(__Xilinx7OD); i++) {	    outb(__Xilinx7OD[i], link->io.BasePort1+2);	    udelay(50);	}    } else if (manfid == MANFID_OSITECH) {	/* Make sure both functions are powered up */	set_bits(0x300, link->io.BasePort1 + OSITECH_AUI_PWR);	/* Now, turn on the interrupt for both card functions */	set_bits(0x300, link->io.BasePort1 + OSITECH_RESET_ISR);	DEBUG(2, "AUI/PWR: %4.4x RESET/ISR: %4.4x\n",	      inw(link->io.BasePort1 + OSITECH_AUI_PWR),	      inw(link->io.BasePort1 + OSITECH_RESET_ISR));    }    return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/4638aef40ba9ebb9734caeed1f373c24015259fd/smc91c92_cs.c/clean/drivers/net/pcmcia/smc91c92_cs.c