diff options
Diffstat (limited to 'drivers/net/vxge/vxge-main.h')
-rw-r--r-- | drivers/net/vxge/vxge-main.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/vxge/vxge-main.h b/drivers/net/vxge/vxge-main.h index 9704b2bd4320..9c36b3a9a63d 100644 --- a/drivers/net/vxge/vxge-main.h +++ b/drivers/net/vxge/vxge-main.h | |||
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | #define VXGE_DRIVER_NAME "vxge" | 22 | #define VXGE_DRIVER_NAME "vxge" |
23 | #define VXGE_DRIVER_VENDOR "Neterion, Inc" | 23 | #define VXGE_DRIVER_VENDOR "Neterion, Inc" |
24 | #define VXGE_DRIVER_VERSION_MAJOR 0 | 24 | #define VXGE_DRIVER_FW_VERSION_MAJOR 1 |
25 | 25 | ||
26 | #define DRV_VERSION VXGE_VERSION_MAJOR"."VXGE_VERSION_MINOR"."\ | 26 | #define DRV_VERSION VXGE_VERSION_MAJOR"."VXGE_VERSION_MINOR"."\ |
27 | VXGE_VERSION_FIX"."VXGE_VERSION_BUILD"-"\ | 27 | VXGE_VERSION_FIX"."VXGE_VERSION_BUILD"-"\ |
@@ -260,6 +260,7 @@ struct vxge_ring { | |||
260 | int gro_enable; | 260 | int gro_enable; |
261 | 261 | ||
262 | struct napi_struct napi; | 262 | struct napi_struct napi; |
263 | struct napi_struct *napi_p; | ||
263 | 264 | ||
264 | #define VXGE_MAX_MAC_ADDR_COUNT 30 | 265 | #define VXGE_MAX_MAC_ADDR_COUNT 30 |
265 | 266 | ||
@@ -363,7 +364,6 @@ struct vxgedev { | |||
363 | 364 | ||
364 | struct __vxge_hw_vpath_handle *vp_handles[VXGE_HW_MAX_VIRTUAL_PATHS]; | 365 | struct __vxge_hw_vpath_handle *vp_handles[VXGE_HW_MAX_VIRTUAL_PATHS]; |
365 | void __iomem *bar0; | 366 | void __iomem *bar0; |
366 | void __iomem *bar1; | ||
367 | struct vxge_sw_stats stats; | 367 | struct vxge_sw_stats stats; |
368 | int mtu; | 368 | int mtu; |
369 | /* Below variables are used for vpath selection to transmit a packet */ | 369 | /* Below variables are used for vpath selection to transmit a packet */ |
@@ -378,6 +378,7 @@ struct vxgedev { | |||
378 | 378 | ||
379 | struct vxge_rx_priv { | 379 | struct vxge_rx_priv { |
380 | struct sk_buff *skb; | 380 | struct sk_buff *skb; |
381 | unsigned char *skb_data; | ||
381 | dma_addr_t data_dma; | 382 | dma_addr_t data_dma; |
382 | dma_addr_t data_size; | 383 | dma_addr_t data_size; |
383 | }; | 384 | }; |
@@ -428,7 +429,8 @@ vxge_rx_1b_compl(struct __vxge_hw_ring *ringh, void *dtr, | |||
428 | 429 | ||
429 | enum vxge_hw_status | 430 | enum vxge_hw_status |
430 | vxge_xmit_compl(struct __vxge_hw_fifo *fifo_hw, void *dtr, | 431 | vxge_xmit_compl(struct __vxge_hw_fifo *fifo_hw, void *dtr, |
431 | enum vxge_hw_fifo_tcode t_code, void *userdata, void **skb_ptr); | 432 | enum vxge_hw_fifo_tcode t_code, void *userdata, |
433 | struct sk_buff ***skb_ptr, int nr_skbs, int *more); | ||
432 | 434 | ||
433 | int vxge_close(struct net_device *dev); | 435 | int vxge_close(struct net_device *dev); |
434 | 436 | ||