This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
bug about MPC8260 FEC driver?
- From: "he_hai_yang" <he_hai_yang at 163 dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Sun, 2 Mar 2003 13:54:10 +0800 (CST)
- Subject: [ECOS] bug about MPC8260 FEC driver?
in file ...\ecos\packages\devs\eth\powerpc\quicc2\current\src\if_fec.c
founction fec_eth_init():
there are code :
if (cache_state) {
HAL_DCACHE_DISABLE();
HAL_DCACHE_INVALIDATE_ALL();
}
i think it should be:
if (cache_state) {
HAL_DCACHE_SYNC();
HAL_DCACHE_DISABLE();
}
If we call HAL_DCACHE_DISABLE() here, some modified in the ram will lose. In our test, once system goes here, the value of net_mem (in support.c) will change to 0.
=============================================================
õ¹å¡¢ÇÉ¿ËÁ¦¡¢ºÍÇ鲬½ð×ê½ä£¡ http://vip.163.com/lover/new_love.jsp
´ºÌìµ½Á˹¶ÀµÄÄ㻹²»Ô¼»á Ô¼»áÆäʵºÜ¼òµ¥ http://dating.163.com/
À´Öйú×î´óµÄ½»ÓÑÖÐÐÄ ÎªÄã¶ÈÉí¶©×öÍêÃÀÇéÈË http://love.163.com/
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss