mv643xx_eth: detect extended rx coal register field
authorLennert Buytenhek <buytenh@wantstofly.org>
Sun, 1 Jun 2008 23:54:16 +0000 (01:54 +0200)
committerLennert Buytenhek <buytenh@wantstofly.org>
Thu, 12 Jun 2008 06:40:37 +0000 (08:40 +0200)
Newer hardware has a 16-bit instead of a 14-bit RX coalescing
count field in the SDMA_CONFIG register.  This patch adds a run-time
check for which of the two we have, and adjusts further writes to the
rx coal count field accordingly.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Dale Farnsworth <dale@farnsworth.org>

No differences found