commit | c9517e5893db03ca8bd32b8783b39af58176947c | [log] [tgz] |
---|---|---|
author | Dhananjay Phadke <dhananjay@netxen.com> | Mon Aug 24 19:23:26 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 26 15:29:17 2009 -0700 |
tree | 5ae4d26af6f38e70a868e634d0576056c326027e | |
parent | cb7e4b6e37144f5d131ee09296be3c21c41f28d8 [diff] |
netxen: implement generic pcie semaphore functions Implement common function for locking/unlocking 8 hardware semaphores used for serializing access to shared resouces on a NIC board by different PCI functions. As by definition, callers of these semaphore API can be put to sleep till the semaphore is locked. Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com> Signed-off-by: David S. Miller <davem@davemloft.net>