rem: static s32 __card_write(u32 chn,u32 address,u32 block_len,void *buffer,cardcallback callback)
add: static s32 __card_write(s32 chn,u32 address,u32 block_len,void *buffer,cardcallback callback)
context: static s32 __card_write(u32 chn,u32 address,u32 block_len,void *buffer,cardcallback callback){	s32 ret;	card_block *card = NULL;#ifdef _CARD_DEBUG	printf("__card_write(%d,%08x,%d,%p,%p)\n",chn,address,block_len,buffer,callback);#endif	if(chn<EXI_CHANNEL_0 || chn>= EXI_CHANNEL_2) return CARD_ERROR_FATAL_ERROR;	card = &cardmap[chn];		if(!card->attached) return CARD_ERROR_NOCARD;		card->cmd_blck_cnt = block_len>>7;	card->cmd_sector_addr = address;	card->cmd_usr_buf = buffer;	card->card_xfer_cb = callback;	ret = __card_writepage(chn,__blockwritecallback);	return ret;}