qlge: Increase MAC addr hw sem granularity.
authorRon Mercer <ron.mercer@qlogic.com>
Mon, 23 Feb 2009 10:42:14 +0000 (10:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Feb 2009 07:50:00 +0000 (23:50 -0800)
commitcc288f54bbace136c08742da84712add54e4acfa
tree6e4742f194bc787fa3cf9c2c416e95e02204a5ab
parentbb58b5b67c08b5fde08090917a040a07ac9d43de
qlge: Increase MAC addr hw sem granularity.

Instead of taking/giving the semaphore repeatedly when iterating over
several adderesses, we have the caller hold it until all are done.  This
reduces PCI bus chatter and possible waits.

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