wrong definition in cpm_8260.h?
Shen Rong
rshen at udtech.com.cn
Wed Jan 22 22:03:25 EST 2003
Hi,
In cpm_8260.h, BD_ENET_RX_STATS is defined to 0x1ff, which leads
to the fcc driver can't clean the BD_ENET_RX_LAST&BD_ENET_RX_FIRST bits
with the following statement:
bdp->cbd_sc &= ~BD_ENET_RX_STATS;
The first&last bits are set by the CPM not the CPU, so they
should be cleared after the frame is received. So it should be:
#define BD_ENET_RX_STATS ((ushort)0x0fff) /* All status bits */
The same problem in ppcboot.
Shenrong
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list