rem: static s32 __card_readstatus(u32 chn,u8 *pstatus)
add: static s32 __card_readstatus(s32 chn,u8 *pstatus)
context: static s32 __card_readstatus(u32 chn,u8 *pstatus){	u8 val[2];	u32 err;	s32 ret;	if(chn<EXI_CHANNEL_0 || chn>=EXI_CHANNEL_2) return CARD_ERROR_NOCARD;	if(EXI_Select(chn,EXI_DEVICE_0,EXI_SPEED16MHZ)==0) return CARD_ERROR_NOCARD;	err = 0;	val[0] = 0x83; val[1] = 0x00;	if(EXI_Imm(chn,val,2,EXI_WRITE,NULL)==0) err |= 0x01;	if(EXI_Sync(chn)==0) err |= 0x02;	if(EXI_Imm(chn,pstatus,1,EXI_READ,NULL)==0) err |= 0x04;	if(EXI_Sync(chn)==0) err |= 0x08;	if(EXI_Deselect(chn)==0) err |= 0x10;	if(err) ret = CARD_ERROR_NOCARD;	else ret = CARD_ERROR_READY;#ifdef _CARD_DEBUG	printf("__card_readstatus(%d,%08x)\n",chn,*pstatus);#endif	return ret;}