enic: Clean up: Add wrapper routines for firmware devcmd calls
authorVasanthy Kolluri <vkolluri@cisco.com>
Thu, 24 Jun 2010 10:50:12 +0000 (10:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jun 2010 03:46:40 +0000 (20:46 -0700)
commit383ab92f11dd78d365ed05cf4d83ca2acc069a1f
tree484b3957d2a28a7f5a67e37871fc729484e67d59
parent99ef563901a18d44a6c2eadd2b958e2e83aeca51
enic: Clean up: Add wrapper routines for firmware devcmd calls

Add wrapper routines that issue devcmds to firmware and ensure that a
devcmd lock is held for each devcmd call.

Signed-off-by: Scott Feldman <scofeldm@cisco.com>
Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com>
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/enic_main.c
drivers/net/enic/enic_res.c
drivers/net/enic/enic_res.h
drivers/net/enic/vnic_dev.c
drivers/net/enic/vnic_dev.h