diff options
author | Vasanthy Kolluri <vkolluri@cisco.com> | 2010-03-18 16:19:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-18 21:22:49 -0700 |
commit | d883aa76416f8e9e872f11ac08c5a3c6684840de (patch) | |
tree | 1918680e25c14fac826da1f1b9ec51545ebdfdfe /drivers/net/enic/vnic_dev.h | |
parent | 73c1ea9b54eb4794b7413ceb2250ad7957dfcc91 (diff) | |
download | kernel_samsung_smdk4412-d883aa76416f8e9e872f11ac08c5a3c6684840de.zip kernel_samsung_smdk4412-d883aa76416f8e9e872f11ac08c5a3c6684840de.tar.gz kernel_samsung_smdk4412-d883aa76416f8e9e872f11ac08c5a3c6684840de.tar.bz2 |
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 fc5e3eb..f5be640 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); void vnic_dev_del_addr(struct vnic_dev *vdev, u8 *addr); int vnic_dev_mac_addr(struct vnic_dev *vdev, u8 *mac_addr); int vnic_dev_raise_intr(struct vnic_dev *vdev, u16 intr); +int vnic_dev_notify_setcmd(struct vnic_dev *vdev, + void *notify_addr, dma_addr_t notify_pa, u16 intr); int vnic_dev_notify_set(struct vnic_dev *vdev, u16 intr); +void vnic_dev_notify_unsetcmd(struct vnic_dev *vdev); void vnic_dev_notify_unset(struct vnic_dev *vdev); int vnic_dev_link_status(struct vnic_dev *vdev); u32 vnic_dev_port_speed(struct vnic_dev *vdev); |