]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit01b120072e75817da4fa304614c77de80ac76923
tree4de9a10fee4f2cba1ac922291f1a0780f9f021e4
parentaa28b26b81203f79040e1be0e5190e4767b8216b
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