rem: static void __card_direrasecallback(u32 chn,s32 result)
add: static void __card_direrasecallback(s32 chn,s32 result)
context: static void __card_direrasecallback(u32 chn,s32 result){	s32 ret;	cardcallback cb = NULL;	struct card_dir *dirblock = NULL;	card_block *card = &cardmap[chn];#ifdef _CARD_DEBUG	printf("__card_direrasecallback(%d,%d)\n",chn,result);#endif	ret = result;	if(ret>=0) {		dirblock = __card_getdirblock(card);		if((ret=__card_write(chn,(((u32)dirblock-(u32)card->workarea)>>13)*card->sector_size,8192,dirblock,__card_dirwritecallback))>=0) return;	}	if(!card->card_api_cb) __card_putcntrlblock(card,ret);	cb = card->card_erase_cb;	if(cb) {		card->card_erase_cb = NULL;		cb(chn,ret);	}}