diff options
author | Vasanthy Kolluri <vkolluri@cisco.com> | 2010-03-18 12:19:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-19 00:22:49 -0400 |
commit | d883aa76416f8e9e872f11ac08c5a3c6684840de (patch) | |
tree | 1918680e25c14fac826da1f1b9ec51545ebdfdfe /drivers/net/enic/vnic_dev.h | |
parent | 73c1ea9b54eb4794b7413ceb2250ad7957dfcc91 (diff) |
enic: Clean up: Add wrapper functions
Add wrapper functions vnic_dev_notify_setcmd and vnic_dev_notify_unsetcmd
for firmware notify commands.
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/vnic_dev.h')
-rw-r--r-- | drivers/net/enic/vnic_dev.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/enic/vnic_dev.h b/drivers/net/enic/vnic_dev.h index fc5e3eb35a5e..f5be640b0b5c 100644 --- a/drivers/net/enic/vnic_dev.h +++ b/drivers/net/enic/vnic_dev.h | |||
@@ -107,7 +107,10 @@ void vnic_dev_add_addr(struct vnic_dev *vdev, u8 *addr); | |||
107 | void vnic_dev_del_addr(struct vnic_dev *vdev, u8 *addr); | 107 | void vnic_dev_del_addr(struct vnic_dev *vdev, u8 *addr); |
108 | int vnic_dev_mac_addr(struct vnic_dev *vdev, u8 *mac_addr); | 108 | int vnic_dev_mac_addr(struct vnic_dev *vdev, u8 *mac_addr); |
109 | int vnic_dev_raise_intr(struct vnic_dev *vdev, u16 intr); | 109 | int vnic_dev_raise_intr(struct vnic_dev *vdev, u16 intr); |
110 | int vnic_dev_notify_setcmd(struct vnic_dev *vdev, | ||
111 | void *notify_addr, dma_addr_t notify_pa, u16 intr); | ||
110 | int vnic_dev_notify_set(struct vnic_dev *vdev, u16 intr); | 112 | int vnic_dev_notify_set(struct vnic_dev *vdev, u16 intr); |
113 | void vnic_dev_notify_unsetcmd(struct vnic_dev *vdev); | ||
111 | void vnic_dev_notify_unset(struct vnic_dev *vdev); | 114 | void vnic_dev_notify_unset(struct vnic_dev *vdev); |
112 | int vnic_dev_link_status(struct vnic_dev *vdev); | 115 | int vnic_dev_link_status(struct vnic_dev *vdev); |
113 | u32 vnic_dev_port_speed(struct vnic_dev *vdev); | 116 | u32 vnic_dev_port_speed(struct vnic_dev *vdev); |