示例#1
0
文件: hscx.c 项目: sarnobat/knoppix
int
open_hscxstate(struct IsdnCardState *cs, struct BCState *bcs)
{
	bc_open(bcs);
	bcs->tx_skb = NULL;
	test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag);
	bcs->event = 0;
	bcs->rcvidx = 0;
	bcs->tx_cnt = 0;
	return (0);
}
示例#2
0
int
open(char *path, int flags, int mode)
{
	return (bc_open(path, flags, mode));
}