commit | 773fc3ee7ef47081c018c964829b660d6be9ee01 | [log] [tgz] |
---|---|---|
author | Lennert Buytenhek <buytenh@wantstofly.org> | Mon Jun 02 01:54:16 2008 +0200 |
committer | Lennert Buytenhek <buytenh@wantstofly.org> | Thu Jun 12 08:40:37 2008 +0200 |
tree | 63cd9782ae0312cf044b2bd64ce8bc81002259ee | |
parent | 226bb6b732f8c2cc7004279c509333fa41186a6d [diff] |
mv643xx_eth: detect extended rx coal register field 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>