ll_temac: Add support for V2 LLTEMAC core
authorSteven J. Magnani <steve@digidescorp.com>
Wed, 17 Feb 2010 07:14:20 +0000 (07:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 21:35:36 +0000 (13:35 -0800)
commitc3b7c12cd78d5c8264c87c29dcd9a8f1819f8313
tree6439e72069890253f9d6140d984eeece6fc7dda8
parente1d444771e0895c7706bc99857d69e4f2a58a531
ll_temac: Add support for V2 LLTEMAC core

LLTEMAC V1 cores place only received packet length in the app4 word.
V2 cores place additional information in app4.
Mask out the additional information when retrieving the packet length.

Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ll_temac_main.c