]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
[MPC512x] Proper handling of larger frames in the FEC driver
authorGrzegorz Bernacki <gjb@semihalf.com>
Fri, 7 Sep 2007 15:09:21 +0000 (17:09 +0200)
committerRafal Jaworowski <raj@semihalf.com>
Fri, 7 Sep 2007 15:09:21 +0000 (17:09 +0200)
commit08e2e5fcd2e06670b62e1680a3934c0e55c72810
tree92988fe44f332772ec304765efc694652099ae78
parent8d17979d0359492a822a0a409d26e3a3549b4cd4
[MPC512x] Proper handling of larger frames in the FEC driver

When frame larger than local RX buffer is received, it is split and handled
by two buffer descriptors. Prior to this patch the FEC driver discarded
contents of a buffer descriptor without the 'LAST' bit set, so the first
part of the frame was lost in case of larger frames. This fix allows to
safely combine the two pieces into the whole frame.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
cpu/mpc512x/fec.c