summaryrefslogtreecommitdiffstats
path: root/drivers/net/sungem.h
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2005-09-01 17:40:46 -0700
committerDavid S. Miller <davem@davemloft.net>2005-09-01 17:40:46 -0700
commit0014c6156f9e7d034d20742d164d7d4da289b42a (patch)
tree78a3d88903fcbad61935c9c804f78f8cd3720dd1 /drivers/net/sungem.h
parent732db659b83579b922c18dee9123e1529b5fb5d2 (diff)
downloadlinux-stable-0014c6156f9e7d034d20742d164d7d4da289b42a.tar.gz
linux-stable-0014c6156f9e7d034d20742d164d7d4da289b42a.tar.bz2
linux-stable-0014c6156f9e7d034d20742d164d7d4da289b42a.zip
[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/sungem.h')
-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;