 printk(KERN_NOTICE "pccard: %s card inserted into slot %d\n", (skt->state & SOCKET_CARDBUS) ? "CardBus" : "PCMCIA", skt->sock);  
static int socket_insert(struct pcmcia_socket *skt){	int ret;	cs_dbg(skt, 4, "insert\n");	if (!cs_socket_get(skt))		return CS_NO_CARD;	ret = socket_setup(skt, setup_delay);	if (ret == CS_SUCCESS) {		skt->state |= SOCKET_PRESENT;#ifdef CONFIG_CARDBUS		if (skt->state & SOCKET_CARDBUS) {			cb_alloc(skt);			skt->state |= SOCKET_CARDBUS_CONFIG;		}#endif		cs_dbg(skt, 4, "insert done\n");		send_event(skt, CS_EVENT_CARD_INSERTION, CS_EVENT_PRI_LOW);	} else {		socket_shutdown(skt);		cs_socket_put(skt);	}	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/807277cbf9a240b133ee378a53b65375088ef62a/cs.c/buggy/drivers/pcmcia/cs.c