OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceded32
)
ps3: fix wrong calculation of rx descriptor address
author
Masakazu Mokuno
<mokuno@sm.sony.co.jp>
Fri, 20 Jul 2007 08:20:54 +0000
(17:20 +0900)
committer
Jeff Garzik
<jeff@garzik.org>
Tue, 24 Jul 2007 20:28:39 +0000
(16:28 -0400)
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>
drivers/net/ps3_gelic_net.c
patch
|
blob
|
history
diff --git
a/drivers/net/ps3_gelic_net.c
b/drivers/net/ps3_gelic_net.c
index
08d2506
..
676a89d
100644
(file)
--- 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_
R
X_DESCRIPTORS,
+ card->descr + GELIC_NET_
T
X_DESCRIPTORS,
GELIC_NET_RX_DESCRIPTORS))
goto alloc_rx_failed;