wrong definition in cpm_8260.h?
Joakim Tjernlund
joakim.tjernlund at lumentis.se
Thu Jan 23 01:54:10 EST 2003
Hi
The same error is in commproc.h for 8xx as well.
>
>
> 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