diff options
Diffstat (limited to 'drivers/net/enic/vnic_vic.h')
-rw-r--r-- | drivers/net/enic/vnic_vic.h | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/drivers/net/enic/vnic_vic.h b/drivers/net/enic/vnic_vic.h index 7e46e5e8600f..f700f5d9e81d 100644 --- a/drivers/net/enic/vnic_vic.h +++ b/drivers/net/enic/vnic_vic.h | |||
@@ -24,14 +24,29 @@ | |||
24 | /* Note: String field lengths include null char */ | 24 | /* Note: String field lengths include null char */ |
25 | 25 | ||
26 | #define VIC_PROVINFO_CISCO_OUI { 0x00, 0x00, 0x0c } | 26 | #define VIC_PROVINFO_CISCO_OUI { 0x00, 0x00, 0x0c } |
27 | #define VIC_PROVINFO_LINUX_TYPE 0x2 | 27 | #define VIC_PROVINFO_GENERIC_TYPE 0x4 |
28 | 28 | ||
29 | enum vic_linux_prov_tlv_type { | 29 | enum vic_generic_prov_tlv_type { |
30 | VIC_LINUX_PROV_TLV_PORT_PROFILE_NAME_STR = 0, | 30 | VIC_GENERIC_PROV_TLV_PORT_PROFILE_NAME_STR = 0, |
31 | VIC_LINUX_PROV_TLV_CLIENT_MAC_ADDR = 1, /* u8[6] */ | 31 | VIC_GENERIC_PROV_TLV_CLIENT_MAC_ADDR = 1, |
32 | VIC_LINUX_PROV_TLV_CLIENT_NAME_STR = 2, | 32 | VIC_GENERIC_PROV_TLV_CLIENT_NAME_STR = 2, |
33 | VIC_LINUX_PROV_TLV_HOST_UUID_STR = 8, | 33 | VIC_GENERIC_PROV_TLV_CLUSTER_PORT_NAME_STR = 3, |
34 | VIC_LINUX_PROV_TLV_CLIENT_UUID_STR = 9, | 34 | VIC_GENERIC_PROV_TLV_CLUSTER_PORT_UUID_STR = 4, |
35 | VIC_GENERIC_PROV_TLV_CLUSTER_UUID_STR = 5, | ||
36 | VIC_GENERIC_PROV_TLV_CLUSTER_NAME_STR = 7, | ||
37 | VIC_GENERIC_PROV_TLV_HOST_UUID_STR = 8, | ||
38 | VIC_GENERIC_PROV_TLV_CLIENT_UUID_STR = 9, | ||
39 | VIC_GENERIC_PROV_TLV_INCARNATION_NUMBER = 10, | ||
40 | VIC_GENERIC_PROV_TLV_OS_TYPE = 11, | ||
41 | VIC_GENERIC_PROV_TLV_OS_VENDOR = 12, | ||
42 | VIC_GENERIC_PROV_TLV_CLIENT_TYPE = 15, | ||
43 | }; | ||
44 | |||
45 | enum vic_generic_prov_os_type { | ||
46 | VIC_GENERIC_PROV_OS_TYPE_UNKNOWN = 0, | ||
47 | VIC_GENERIC_PROV_OS_TYPE_ESX = 1, | ||
48 | VIC_GENERIC_PROV_OS_TYPE_LINUX = 2, | ||
49 | VIC_GENERIC_PROV_OS_TYPE_WINDOWS = 3, | ||
35 | }; | 50 | }; |
36 | 51 | ||
37 | struct vic_provinfo { | 52 | struct vic_provinfo { |