macb: allow GEM to have configurable receive buffer size
authorJamie Iles <jamie@jamieiles.com>
Mon, 14 Mar 2011 17:38:30 +0000 (17:38 +0000)
committerJamie Iles <jamie@jamieiles.com>
Tue, 22 Nov 2011 15:21:20 +0000 (15:21 +0000)
commit0116da4fcc1ae8a80d9002441e98768f2a6fa2fe
tree503b19e91670f415fa5edfae95cd8b52170d417a
parent757a03c6e004fbbdef872cb7ecdc940a891b8e6e
macb: allow GEM to have configurable receive buffer size

GEM has configurable receive buffer sizes so requires this to be
programmed up.  Any size < 2048 and a multiple of 64 bytes is permitted.

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