summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/seeq/sgiseeq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/seeq/sgiseeq.c')
-rw-r--r--drivers/net/ethernet/seeq/sgiseeq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/seeq/sgiseeq.c b/drivers/net/ethernet/seeq/sgiseeq.c
index bb8c8222122..4d15bf413bd 100644
--- a/drivers/net/ethernet/seeq/sgiseeq.c
+++ b/drivers/net/ethernet/seeq/sgiseeq.c
@@ -751,6 +751,7 @@ static int __devinit sgiseeq_probe(struct platform_device *pdev)
sp->srings = sr;
sp->rx_desc = sp->srings->rxvector;
sp->tx_desc = sp->srings->txvector;
+ spin_lock_init(&sp->tx_lock);
/* A couple calculations now, saves many cycles later. */
setup_rx_ring(dev, sp->rx_desc, SEEQ_RX_BUFFERS);