gianfar: Fix BD_LENGTH_MASK definition
authorAndy Fleming <afleming@freescale.com>
Thu, 5 Feb 2009 00:37:40 +0000 (16:37 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2009 00:37:40 +0000 (16:37 -0800)
commit1fbe49328f7442090439addddf441fb5b3186e71
tree3582f5ddadcd69f1c1d71eb30267c54202b4a05d
parent65ab8385b67854792e89267907f9fcb27e779f95
gianfar: Fix BD_LENGTH_MASK definition

BD_LENGTH_MASK is supposed to catch the low 16-bits of the status field, not
the low byte.  The old way, we would never be able to clean up tx packets with
sizes divisible by 256.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.h