From: Geoff Levand Date: Fri, 2 Sep 2005 00:40:46 +0000 (-0700) Subject: [SUNGEM]: fix minor bug in sungem.h X-Git-Tag: v2.6.14-rc1~777^2~14 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0014c6156f9e7d034d20742d164d7d4da289b42a;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: David S. Miller --- 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;