qlge: Fix lock/mutex warnings.
authorRon Mercer <ron.mercer@qlogic.com>
Mon, 5 Oct 2009 11:46:49 +0000 (11:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2009 00:33:37 +0000 (17:33 -0700)
commit86aaf9ad8276160312c09771c0f8e64646996e4c
treec1516a6658a9593f288c0f328d4de9a3485407db
parent5ee22a5aa9cd85527b93b24402db9ae2567d5aa6
qlge: Fix lock/mutex warnings.

Get rid of spinlock and private mutex usage for exclusive access to the
HW semaphore register.  rtnl_lock already creates exclusive access to
this register in all driver API.
Add rtnl to firmware worker threads that also use the HW semaphore register.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge.h
drivers/net/qlge/qlge_ethtool.c
drivers/net/qlge/qlge_main.c
drivers/net/qlge/qlge_mpi.c