diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /drivers/net/enic/vnic_dev.h | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'drivers/net/enic/vnic_dev.h')
-rw-r--r-- | drivers/net/enic/vnic_dev.h | 33 |
1 files changed, 4 insertions, 29 deletions
diff --git a/drivers/net/enic/vnic_dev.h b/drivers/net/enic/vnic_dev.h index 3a61873138b6..cf482a2c9dd9 100644 --- a/drivers/net/enic/vnic_dev.h +++ b/drivers/net/enic/vnic_dev.h | |||
@@ -44,12 +44,6 @@ static inline void writeq(u64 val, void __iomem *reg) | |||
44 | #undef pr_fmt | 44 | #undef pr_fmt |
45 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 45 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
46 | 46 | ||
47 | enum vnic_dev_hw_version { | ||
48 | VNIC_DEV_HW_VER_UNKNOWN, | ||
49 | VNIC_DEV_HW_VER_A1, | ||
50 | VNIC_DEV_HW_VER_A2, | ||
51 | }; | ||
52 | |||
53 | enum vnic_dev_intr_mode { | 47 | enum vnic_dev_intr_mode { |
54 | VNIC_DEV_INTR_MODE_UNKNOWN, | 48 | VNIC_DEV_INTR_MODE_UNKNOWN, |
55 | VNIC_DEV_INTR_MODE_INTX, | 49 | VNIC_DEV_INTR_MODE_INTX, |
@@ -84,10 +78,6 @@ unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev, | |||
84 | enum vnic_res_type type); | 78 | enum vnic_res_type type); |
85 | void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, | 79 | void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, |
86 | unsigned int index); | 80 | unsigned int index); |
87 | dma_addr_t vnic_dev_get_res_bus_addr(struct vnic_dev *vdev, | ||
88 | enum vnic_res_type type, unsigned int index); | ||
89 | unsigned int vnic_dev_desc_ring_size(struct vnic_dev_ring *ring, | ||
90 | unsigned int desc_count, unsigned int desc_size); | ||
91 | void vnic_dev_clear_desc_ring(struct vnic_dev_ring *ring); | 81 | void vnic_dev_clear_desc_ring(struct vnic_dev_ring *ring); |
92 | int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring, | 82 | int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring, |
93 | unsigned int desc_count, unsigned int desc_size); | 83 | unsigned int desc_count, unsigned int desc_size); |
@@ -95,49 +85,30 @@ void vnic_dev_free_desc_ring(struct vnic_dev *vdev, | |||
95 | struct vnic_dev_ring *ring); | 85 | struct vnic_dev_ring *ring); |
96 | int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, | 86 | int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, |
97 | u64 *a0, u64 *a1, int wait); | 87 | u64 *a0, u64 *a1, int wait); |
98 | void vnic_dev_cmd_proxy_by_bdf_start(struct vnic_dev *vdev, u16 bdf); | ||
99 | void vnic_dev_cmd_proxy_end(struct vnic_dev *vdev); | ||
100 | int vnic_dev_fw_info(struct vnic_dev *vdev, | 88 | int vnic_dev_fw_info(struct vnic_dev *vdev, |
101 | struct vnic_devcmd_fw_info **fw_info); | 89 | struct vnic_devcmd_fw_info **fw_info); |
102 | int vnic_dev_hw_version(struct vnic_dev *vdev, | ||
103 | enum vnic_dev_hw_version *hw_ver); | ||
104 | int vnic_dev_spec(struct vnic_dev *vdev, unsigned int offset, unsigned int size, | 90 | int vnic_dev_spec(struct vnic_dev *vdev, unsigned int offset, unsigned int size, |
105 | void *value); | 91 | void *value); |
106 | int vnic_dev_stats_clear(struct vnic_dev *vdev); | ||
107 | int vnic_dev_stats_dump(struct vnic_dev *vdev, struct vnic_stats **stats); | 92 | int vnic_dev_stats_dump(struct vnic_dev *vdev, struct vnic_stats **stats); |
108 | int vnic_dev_hang_notify(struct vnic_dev *vdev); | 93 | int vnic_dev_hang_notify(struct vnic_dev *vdev); |
109 | int vnic_dev_packet_filter(struct vnic_dev *vdev, int directed, int multicast, | 94 | int vnic_dev_packet_filter(struct vnic_dev *vdev, int directed, int multicast, |
110 | int broadcast, int promisc, int allmulti); | 95 | int broadcast, int promisc, int allmulti); |
111 | int vnic_dev_packet_filter_all(struct vnic_dev *vdev, int directed, | ||
112 | int multicast, int broadcast, int promisc, int allmulti); | ||
113 | int vnic_dev_add_addr(struct vnic_dev *vdev, u8 *addr); | 96 | int vnic_dev_add_addr(struct vnic_dev *vdev, u8 *addr); |
114 | int vnic_dev_del_addr(struct vnic_dev *vdev, u8 *addr); | 97 | int vnic_dev_del_addr(struct vnic_dev *vdev, u8 *addr); |
115 | int vnic_dev_mac_addr(struct vnic_dev *vdev, u8 *mac_addr); | 98 | int vnic_dev_mac_addr(struct vnic_dev *vdev, u8 *mac_addr); |
116 | int vnic_dev_raise_intr(struct vnic_dev *vdev, u16 intr); | ||
117 | int vnic_dev_notify_setcmd(struct vnic_dev *vdev, | ||
118 | void *notify_addr, dma_addr_t notify_pa, u16 intr); | ||
119 | int vnic_dev_notify_set(struct vnic_dev *vdev, u16 intr); | 99 | int vnic_dev_notify_set(struct vnic_dev *vdev, u16 intr); |
120 | int vnic_dev_notify_unsetcmd(struct vnic_dev *vdev); | ||
121 | int vnic_dev_notify_unset(struct vnic_dev *vdev); | 100 | int vnic_dev_notify_unset(struct vnic_dev *vdev); |
122 | int vnic_dev_link_status(struct vnic_dev *vdev); | 101 | int vnic_dev_link_status(struct vnic_dev *vdev); |
123 | u32 vnic_dev_port_speed(struct vnic_dev *vdev); | 102 | u32 vnic_dev_port_speed(struct vnic_dev *vdev); |
124 | u32 vnic_dev_msg_lvl(struct vnic_dev *vdev); | 103 | u32 vnic_dev_msg_lvl(struct vnic_dev *vdev); |
125 | u32 vnic_dev_mtu(struct vnic_dev *vdev); | 104 | u32 vnic_dev_mtu(struct vnic_dev *vdev); |
126 | u32 vnic_dev_link_down_cnt(struct vnic_dev *vdev); | ||
127 | u32 vnic_dev_notify_status(struct vnic_dev *vdev); | ||
128 | u32 vnic_dev_uif(struct vnic_dev *vdev); | ||
129 | int vnic_dev_close(struct vnic_dev *vdev); | 105 | int vnic_dev_close(struct vnic_dev *vdev); |
130 | int vnic_dev_enable(struct vnic_dev *vdev); | ||
131 | int vnic_dev_enable_wait(struct vnic_dev *vdev); | 106 | int vnic_dev_enable_wait(struct vnic_dev *vdev); |
132 | int vnic_dev_disable(struct vnic_dev *vdev); | 107 | int vnic_dev_disable(struct vnic_dev *vdev); |
133 | int vnic_dev_open(struct vnic_dev *vdev, int arg); | 108 | int vnic_dev_open(struct vnic_dev *vdev, int arg); |
134 | int vnic_dev_open_done(struct vnic_dev *vdev, int *done); | 109 | int vnic_dev_open_done(struct vnic_dev *vdev, int *done); |
135 | int vnic_dev_init(struct vnic_dev *vdev, int arg); | 110 | int vnic_dev_init(struct vnic_dev *vdev, int arg); |
136 | int vnic_dev_init_done(struct vnic_dev *vdev, int *done, int *err); | ||
137 | int vnic_dev_init_prov(struct vnic_dev *vdev, u8 *buf, u32 len); | ||
138 | int vnic_dev_deinit(struct vnic_dev *vdev); | 111 | int vnic_dev_deinit(struct vnic_dev *vdev); |
139 | int vnic_dev_soft_reset(struct vnic_dev *vdev, int arg); | ||
140 | int vnic_dev_soft_reset_done(struct vnic_dev *vdev, int *done); | ||
141 | int vnic_dev_hang_reset(struct vnic_dev *vdev, int arg); | 112 | int vnic_dev_hang_reset(struct vnic_dev *vdev, int arg); |
142 | int vnic_dev_hang_reset_done(struct vnic_dev *vdev, int *done); | 113 | int vnic_dev_hang_reset_done(struct vnic_dev *vdev, int *done); |
143 | void vnic_dev_set_intr_mode(struct vnic_dev *vdev, | 114 | void vnic_dev_set_intr_mode(struct vnic_dev *vdev, |
@@ -149,5 +120,9 @@ int vnic_dev_set_ig_vlan_rewrite_mode(struct vnic_dev *vdev, | |||
149 | struct vnic_dev *vnic_dev_register(struct vnic_dev *vdev, | 120 | struct vnic_dev *vnic_dev_register(struct vnic_dev *vdev, |
150 | void *priv, struct pci_dev *pdev, struct vnic_dev_bar *bar, | 121 | void *priv, struct pci_dev *pdev, struct vnic_dev_bar *bar, |
151 | unsigned int num_bars); | 122 | unsigned int num_bars); |
123 | int vnic_dev_init_prov2(struct vnic_dev *vdev, u8 *buf, u32 len); | ||
124 | int vnic_dev_enable2(struct vnic_dev *vdev, int active); | ||
125 | int vnic_dev_enable2_done(struct vnic_dev *vdev, int *status); | ||
126 | int vnic_dev_deinit_done(struct vnic_dev *vdev, int *status); | ||
152 | 127 | ||
153 | #endif /* _VNIC_DEV_H_ */ | 128 | #endif /* _VNIC_DEV_H_ */ |