/* Returns driver specefic information like name, version etc.. to ethtool.  */
static void vxge_ethtool_gdrvinfo(struct net_device *dev, struct ethtool_drvinfo *info)
/* Returns driver specefic information like name, version etc.. to ethtool.  */
static void vxge_ethtool_gdrvinfo(struct net_device *dev, struct ethtool_drvinfo *info)
{
	struct vxgedev *vdev;
	vdev = (struct vxgedev *)netdev_priv(dev);
	strlcpy(info->driver, VXGE_DRIVER_NAME, sizeof(VXGE_DRIVER_NAME));
	strlcpy(info->version, DRV_VERSION, sizeof(DRV_VERSION));
	strlcpy(info->fw_version, vdev->fw_version, VXGE_HW_FW_STRLEN);
	strlcpy(info->bus_info, pci_name(vdev->pdev), sizeof(info->bus_info));
	info->regdump_len = sizeof(struct vxge_hw_vpath_reg)
				* vdev->no_of_vpath;
	info->n_stats = STAT_LEN;
}