Skip to contentSkip to conversation

fix minor bug in sungem.h

PATCH Applied Geoff Levand 2 participants 2 messages Aug 25, 2005 – Sep 1, 2005 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

drivers/net/sungem.h +1 -1
@@ -1020,7 +1020,7 @@
 		
 	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;
maintainer Applied
#1 lore raw

From: Geoff Levand <[email protected]>
Date: Wed, 24 Aug 2005 17:23:11 -0700

Quoted 5 lines

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.

Applied, thanks for catching this Geoff.