diff options
author | Vasanthy Kolluri <vkolluri@cisco.com> | 2010-06-24 06:50:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-25 23:46:40 -0400 |
commit | 383ab92f11dd78d365ed05cf4d83ca2acc069a1f (patch) | |
tree | 484b3957d2a28a7f5a67e37871fc729484e67d59 /drivers/net/enic/enic_res.h | |
parent | 99ef563901a18d44a6c2eadd2b958e2e83aeca51 (diff) |
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>
Diffstat (limited to 'drivers/net/enic/enic_res.h')
-rw-r--r-- | drivers/net/enic/enic_res.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/enic/enic_res.h b/drivers/net/enic/enic_res.h index 494664f7fccc..3f6e039c2fd2 100644 --- a/drivers/net/enic/enic_res.h +++ b/drivers/net/enic/enic_res.h | |||
@@ -131,10 +131,8 @@ static inline void enic_queue_rq_desc(struct vnic_rq *rq, | |||
131 | struct enic; | 131 | struct enic; |
132 | 132 | ||
133 | int enic_get_vnic_config(struct enic *); | 133 | int enic_get_vnic_config(struct enic *); |
134 | void enic_add_multicast_addr(struct enic *enic, u8 *addr); | 134 | int enic_add_vlan(struct enic *enic, u16 vlanid); |
135 | void enic_del_multicast_addr(struct enic *enic, u8 *addr); | 135 | int enic_del_vlan(struct enic *enic, u16 vlanid); |
136 | void enic_add_vlan(struct enic *enic, u16 vlanid); | ||
137 | void enic_del_vlan(struct enic *enic, u16 vlanid); | ||
138 | int enic_set_nic_cfg(struct enic *enic, u8 rss_default_cpu, u8 rss_hash_type, | 136 | int enic_set_nic_cfg(struct enic *enic, u8 rss_default_cpu, u8 rss_hash_type, |
139 | u8 rss_hash_bits, u8 rss_base_cpu, u8 rss_enable, u8 tso_ipid_split_en, | 137 | u8 rss_hash_bits, u8 rss_base_cpu, u8 rss_enable, u8 tso_ipid_split_en, |
140 | u8 ig_vlan_strip_en); | 138 | u8 ig_vlan_strip_en); |