]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mv643xx_eth: detect alternate TX BW control register location
authorLennert Buytenhek <buytenh@wantstofly.org>
Sun, 1 Jun 2008 23:57:36 +0000 (01:57 +0200)
committerLennert Buytenhek <buytenh@wantstofly.org>
Thu, 12 Jun 2008 06:40:38 +0000 (08:40 +0200)
commit1e881592e0420dfb5626344a69b15ae268ee98c7
tree6153b45b649a35f3c85bb9f9729b3866465fb215
parent773fc3ee7ef47081c018c964829b660d6be9ee01
mv643xx_eth: detect alternate TX BW control register location

Some SoCs have the TX bandwidth control registers in a slightly
different place.  This patch detects that case at run time, and
re-directs accesses to those registers to the proper place at
run time if needed.

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