diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2005-09-01 17:40:46 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-09-01 17:40:46 -0700 |
commit | 0014c6156f9e7d034d20742d164d7d4da289b42a (patch) | |
tree | 78a3d88903fcbad61935c9c804f78f8cd3720dd1 /drivers/net/sungem.h | |
parent | 732db659b83579b922c18dee9123e1529b5fb5d2 (diff) | |
download | linux-3.10-0014c6156f9e7d034d20742d164d7d4da289b42a.tar.gz linux-3.10-0014c6156f9e7d034d20742d164d7d4da289b42a.tar.bz2 linux-3.10-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sungem.h b/drivers/net/sungem.h index 7143fd7cf3f..ff8ae5f7997 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; |