]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[SUNGEM]: fix minor bug in sungem.h
authorGeoff Levand <geoffrey.levand@am.sony.com>
Fri, 2 Sep 2005 00:40:46 +0000 (17:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Sep 2005 00:40:46 +0000 (17:40 -0700)
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>
drivers/net/sungem.h

index 7143fd7cf3f84fd3fbf5867ee482a2e35037bd66..ff8ae5f7997001f3725a0d943f89e5937dc57f87 100644 (file)
@@ -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;