]> git.baikalelectronics.ru Git - kernel.git/commit
igb: add function to handle mailbox lock
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 5 Oct 2009 06:33:46 +0000 (06:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Oct 2009 21:59:20 +0000 (14:59 -0700)
commit6362dd636b43c991fbe828ef0f9318112b2e7ae8
tree266ae1b7b50bac51992a0ca4b7605949b0dde192
parent68edf217af87e61029a51aaad53e162ec1fac92f
igb: add function to handle mailbox lock

Both the read and write mailbox functions need to acquire the mailbox lock.
Since that is the case we might as well combine both of the procedures into
one function so it is easier to maintain.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/e1000_mbx.c