summaryrefslogtreecommitdiffstats
path: root/drivers/net/ps3_gelic_net.c
diff options
context:
space:
mode:
authorMasakazu Mokuno <mokuno@sm.sony.co.jp>2007-07-20 10:20:54 +0200
committerJeff Garzik <jeff@garzik.org>2007-07-24 22:28:39 +0200
commit9f6c9a8c50bc84ec748fec779ead321ee2b2debc (patch)
treee0e58850265784fc6a4515c7cc637179d430a8d3 /drivers/net/ps3_gelic_net.c
parentnetxen: Load firmware during probe, dma watchdog fix. (diff)
downloadlinux-9f6c9a8c50bc84ec748fec779ead321ee2b2debc.tar.xz
linux-9f6c9a8c50bc84ec748fec779ead321ee2b2debc.zip
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 <mokuno@sm.sony.co.jp> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ps3_gelic_net.c')
-rw-r--r--drivers/net/ps3_gelic_net.c2
1 files changed, 1 insertions, 1 deletions
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;