Commit 4dae3030 authored by Jeff Garzik's avatar Jeff Garzik

Fix typo in the winbond-840 net driver which doubled

the size of the Tx data buffer list without cause.
Spotted by Dave Jones.
parent 0a67f33c
...@@ -347,7 +347,7 @@ struct netdev_private { ...@@ -347,7 +347,7 @@ struct netdev_private {
struct w840_rx_desc *rx_ring; struct w840_rx_desc *rx_ring;
dma_addr_t rx_addr[RX_RING_SIZE]; dma_addr_t rx_addr[RX_RING_SIZE];
struct w840_tx_desc *tx_ring; struct w840_tx_desc *tx_ring;
dma_addr_t tx_addr[RX_RING_SIZE]; dma_addr_t tx_addr[TX_RING_SIZE];
dma_addr_t ring_dma_addr; dma_addr_t ring_dma_addr;
/* The addresses of receive-in-place skbuffs. */ /* The addresses of receive-in-place skbuffs. */
struct sk_buff* rx_skbuff[RX_RING_SIZE]; struct sk_buff* rx_skbuff[RX_RING_SIZE];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment