netxen: hold tx lock while sending firmware commands
authorDhananjay Phadke <dhananjay@netxen.com>
Thu, 15 Jan 2009 04:49:43 +0000 (20:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jan 2009 04:49:43 +0000 (20:49 -0800)
commit03e678ee968ae54b79c1580c2935895bd863ad95
tree537fa189202b60b14c76151cd819be88fdec3f79
parent06e9d9f9783860fe4c602ef491f47211804ccc96
netxen: hold tx lock while sending firmware commands

Some firmware commands like mac address addition/deletion are sent
on the transmit ring. So need to hold the tx lock before touching
tx producer/consumer indices.

Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_hw.c