int setl2(int card, unsigned long arg) 
static int setl2(int card, unsigned long arg) 
int setl2(int card, unsigned long arg) {	int status =0;	int protocol,channel;	if(!IS_VALID_CARD(card)) {		pr_debug("Invalid param: %d is not a valid card id\n", card);		return -ENODEV;	}	protocol = arg >> 8;	channel = arg & 0xff;	sc_adapter[card]->channel[channel].l2_proto = protocol;	pr_debug("%s: Level 2 protocol for channel %d set to %s from %d\n",		sc_adapter[card]->devicename, channel+1,		l2protos[sc_adapter[card]->channel[channel].l2_proto],protocol);	/*	 * check that the adapter is also set to the correct protocol	 */	pr_debug("%s: Sending GetFrameFormat for channel %d\n",		sc_adapter[card]->devicename, channel+1);	status = sendmessage(card, CEPID, ceReqTypeCall, 				ceReqClass0, 				ceReqCallGetFrameFormat, 				(unsigned char)channel+1, 				1, 				(unsigned int *) protocol);	if(status) 		return status;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/e3ca5e762c2aca373f1762cbc622ebe20fd20869/command.c/clean/drivers/isdn/sc/command.c