summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2005-09-02 04:40:46 +0400
committerDavid S. Miller <davem@davemloft.net>2005-09-02 04:40:46 +0400
commit0014c6156f9e7d034d20742d164d7d4da289b42a (patch)
tree78a3d88903fcbad61935c9c804f78f8cd3720dd1 /drivers/net
parent732db659b83579b922c18dee9123e1529b5fb5d2 (diff)
downloadlinux-0014c6156f9e7d034d20742d164d7d4da289b42a.tar.xz
[SUNGEM]: fix minor bug in sungem.h
This changes the Sun Gem Ether driver's tx ring buffer length to the proper constant. Currently TX_RING_SIZE and RX_RING_SIZE are equal, so no malfunction occurs. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/sungem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sungem.h b/drivers/net/sungem.h
index 7143fd7cf3f8..ff8ae5f79970 100644
--- a/drivers/net/sungem.h
+++ b/drivers/net/sungem.h
@@ -1020,7 +1020,7 @@ struct gem {
struct gem_init_block *init_block;
struct sk_buff *rx_skbs[RX_RING_SIZE];
- struct sk_buff *tx_skbs[RX_RING_SIZE];
+ struct sk_buff *tx_skbs[TX_RING_SIZE];
dma_addr_t gblock_dvma;
struct pci_dev *pdev;