diff options
Diffstat (limited to 'drivers/net/enic/vnic_dev.h')
-rw-r--r-- | drivers/net/enic/vnic_dev.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/enic/vnic_dev.h b/drivers/net/enic/vnic_dev.h index d960edb8cdf5..db1d63e0b97c 100644 --- a/drivers/net/enic/vnic_dev.h +++ b/drivers/net/enic/vnic_dev.h | |||
@@ -41,6 +41,12 @@ static inline void writeq(u64 val, void __iomem *reg) | |||
41 | } | 41 | } |
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | enum vnic_dev_hw_version { | ||
45 | VNIC_DEV_HW_VER_UNKNOWN, | ||
46 | VNIC_DEV_HW_VER_A1, | ||
47 | VNIC_DEV_HW_VER_A2, | ||
48 | }; | ||
49 | |||
44 | enum vnic_dev_intr_mode { | 50 | enum vnic_dev_intr_mode { |
45 | VNIC_DEV_INTR_MODE_UNKNOWN, | 51 | VNIC_DEV_INTR_MODE_UNKNOWN, |
46 | VNIC_DEV_INTR_MODE_INTX, | 52 | VNIC_DEV_INTR_MODE_INTX, |
@@ -88,6 +94,8 @@ int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, | |||
88 | u64 *a0, u64 *a1, int wait); | 94 | u64 *a0, u64 *a1, int wait); |
89 | int vnic_dev_fw_info(struct vnic_dev *vdev, | 95 | int vnic_dev_fw_info(struct vnic_dev *vdev, |
90 | struct vnic_devcmd_fw_info **fw_info); | 96 | struct vnic_devcmd_fw_info **fw_info); |
97 | int vnic_dev_hw_version(struct vnic_dev *vdev, | ||
98 | enum vnic_dev_hw_version *hw_ver); | ||
91 | int vnic_dev_spec(struct vnic_dev *vdev, unsigned int offset, unsigned int size, | 99 | int vnic_dev_spec(struct vnic_dev *vdev, unsigned int offset, unsigned int size, |
92 | void *value); | 100 | void *value); |
93 | int vnic_dev_stats_clear(struct vnic_dev *vdev); | 101 | int vnic_dev_stats_clear(struct vnic_dev *vdev); |