macb: support DMA bus widths > 32 bits
authorJamie Iles <jamie@jamieiles.com>
Wed, 9 Mar 2011 16:29:59 +0000 (16:29 +0000)
committerJamie Iles <jamie@jamieiles.com>
Tue, 22 Nov 2011 15:21:19 +0000 (15:21 +0000)
commit757a03c6e004fbbdef872cb7ecdc940a891b8e6e
tree4de9a10fee4f2cba1ac922291f1a0780f9f021e4
parenta494ed8e25759f05f5a419d675f198e4359ef6fc
macb: support DMA bus widths > 32 bits

Some GEM implementations may support DMA bus widths up to 128 bits.  We
can get the maximum supported DMA bus width from the design
configuration register so use that to program the device up.

Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Tested-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h