diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-10-21 03:50:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-24 18:07:12 -0400 |
commit | 42821a5b393e36f5c0b267473d59d375578df7ec (patch) | |
tree | beeaa5a6ac9211567d9b13687585959a63ba1c8a /drivers/net/vxge/vxge-main.h | |
parent | 89ff05ec553f3e70b8773c501da01bf7ad952cab (diff) |
vxge: make functions local and remove dead code
Use results of make namespacecheck to make functions local and
remove code that is not used.
Also rename initialize_ethtool_ops to vxge_initialize_ethtool_ops.
Compile tested only.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxge/vxge-main.h')
-rw-r--r-- | drivers/net/vxge/vxge-main.h | 59 |
1 files changed, 1 insertions, 58 deletions
diff --git a/drivers/net/vxge/vxge-main.h b/drivers/net/vxge/vxge-main.h index d4be07eaacd7..de64536cb7d0 100644 --- a/drivers/net/vxge/vxge-main.h +++ b/drivers/net/vxge/vxge-main.h | |||
@@ -396,64 +396,7 @@ struct vxge_tx_priv { | |||
396 | mod_timer(&timer, (jiffies + exp)); \ | 396 | mod_timer(&timer, (jiffies + exp)); \ |
397 | } while (0); | 397 | } while (0); |
398 | 398 | ||
399 | int __devinit vxge_device_register(struct __vxge_hw_device *devh, | 399 | extern void vxge_initialize_ethtool_ops(struct net_device *ndev); |
400 | struct vxge_config *config, | ||
401 | int high_dma, int no_of_vpath, | ||
402 | struct vxgedev **vdev); | ||
403 | |||
404 | void vxge_device_unregister(struct __vxge_hw_device *devh); | ||
405 | |||
406 | void vxge_vpath_intr_enable(struct vxgedev *vdev, int vp_id); | ||
407 | |||
408 | void vxge_vpath_intr_disable(struct vxgedev *vdev, int vp_id); | ||
409 | |||
410 | void vxge_callback_link_up(struct __vxge_hw_device *devh); | ||
411 | |||
412 | void vxge_callback_link_down(struct __vxge_hw_device *devh); | ||
413 | |||
414 | enum vxge_hw_status vxge_add_mac_addr(struct vxgedev *vdev, | ||
415 | struct macInfo *mac); | ||
416 | |||
417 | int vxge_mac_list_del(struct vxge_vpath *vpath, struct macInfo *mac); | ||
418 | |||
419 | int vxge_reset(struct vxgedev *vdev); | ||
420 | |||
421 | enum vxge_hw_status | ||
422 | vxge_rx_1b_compl(struct __vxge_hw_ring *ringh, void *dtr, | ||
423 | u8 t_code, void *userdata); | ||
424 | |||
425 | enum vxge_hw_status | ||
426 | vxge_xmit_compl(struct __vxge_hw_fifo *fifo_hw, void *dtr, | ||
427 | enum vxge_hw_fifo_tcode t_code, void *userdata, | ||
428 | struct sk_buff ***skb_ptr, int nr_skbs, int *more); | ||
429 | |||
430 | int vxge_close(struct net_device *dev); | ||
431 | |||
432 | int vxge_open(struct net_device *dev); | ||
433 | |||
434 | void vxge_close_vpaths(struct vxgedev *vdev, int index); | ||
435 | |||
436 | int vxge_open_vpaths(struct vxgedev *vdev); | ||
437 | |||
438 | enum vxge_hw_status vxge_reset_all_vpaths(struct vxgedev *vdev); | ||
439 | |||
440 | enum vxge_hw_status vxge_add_mac_addr(struct vxgedev *vdev, | ||
441 | struct macInfo *mac); | ||
442 | |||
443 | enum vxge_hw_status vxge_del_mac_addr(struct vxgedev *vdev, | ||
444 | struct macInfo *mac); | ||
445 | |||
446 | int vxge_mac_list_add(struct vxge_vpath *vpath, | ||
447 | struct macInfo *mac); | ||
448 | |||
449 | void vxge_free_mac_add_list(struct vxge_vpath *vpath); | ||
450 | |||
451 | enum vxge_hw_status vxge_restore_vpath_mac_addr(struct vxge_vpath *vpath); | ||
452 | |||
453 | enum vxge_hw_status vxge_restore_vpath_vid_table(struct vxge_vpath *vpath); | ||
454 | |||
455 | int do_vxge_close(struct net_device *dev, int do_io); | ||
456 | extern void initialize_ethtool_ops(struct net_device *ndev); | ||
457 | /** | 400 | /** |
458 | * #define VXGE_DEBUG_INIT: debug for initialization functions | 401 | * #define VXGE_DEBUG_INIT: debug for initialization functions |
459 | * #define VXGE_DEBUG_TX : debug transmit related functions | 402 | * #define VXGE_DEBUG_TX : debug transmit related functions |