From: Masakazu Mokuno Date: Fri, 20 Jul 2007 08:20:54 +0000 (+0900) Subject: ps3: fix wrong calculation of rx descriptor address X-Git-Tag: MMI-PSA29.97-13-9~41167^2~22 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9f6c9a8c50bc84ec748fec779ead321ee2b2debc;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ps3: fix wrong calculation of rx descriptor address Fixed the bug that calculation of the address of rx descriptor was wrong. Signed-off-by: Masakazu Mokuno Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/ps3_gelic_net.c b/drivers/net/ps3_gelic_net.c index 08d25066f051..676a89df4d70 100644 --- a/drivers/net/ps3_gelic_net.c +++ b/drivers/net/ps3_gelic_net.c @@ -1107,7 +1107,7 @@ static int gelic_net_open(struct net_device *netdev) card->descr, GELIC_NET_TX_DESCRIPTORS)) goto alloc_tx_failed; if (gelic_net_init_chain(card, &card->rx_chain, - card->descr + GELIC_NET_RX_DESCRIPTORS, + card->descr + GELIC_NET_TX_DESCRIPTORS, GELIC_NET_RX_DESCRIPTORS)) goto alloc_rx_failed;