diff options
Diffstat (limited to 'drivers/net/netxen/netxen_nic_ethtool.c')
-rw-r--r-- | drivers/net/netxen/netxen_nic_ethtool.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/netxen/netxen_nic_ethtool.c b/drivers/net/netxen/netxen_nic_ethtool.c index 99071c253766..cacc5280605e 100644 --- a/drivers/net/netxen/netxen_nic_ethtool.c +++ b/drivers/net/netxen/netxen_nic_ethtool.c | |||
@@ -159,9 +159,16 @@ netxen_nic_get_settings(struct net_device *dev, struct ethtool_cmd *ecmd) | |||
159 | switch ((netxen_brdtype_t) boardinfo->board_type) { | 159 | switch ((netxen_brdtype_t) boardinfo->board_type) { |
160 | case NETXEN_BRDTYPE_P2_SB35_4G: | 160 | case NETXEN_BRDTYPE_P2_SB35_4G: |
161 | case NETXEN_BRDTYPE_P2_SB31_2G: | 161 | case NETXEN_BRDTYPE_P2_SB31_2G: |
162 | case NETXEN_BRDTYPE_P3_REF_QG: | ||
163 | case NETXEN_BRDTYPE_P3_4_GB: | ||
164 | case NETXEN_BRDTYPE_P3_4_GB_MM: | ||
165 | case NETXEN_BRDTYPE_P3_10000_BASE_T: | ||
166 | |||
162 | ecmd->supported |= SUPPORTED_Autoneg; | 167 | ecmd->supported |= SUPPORTED_Autoneg; |
163 | ecmd->advertising |= ADVERTISED_Autoneg; | 168 | ecmd->advertising |= ADVERTISED_Autoneg; |
164 | case NETXEN_BRDTYPE_P2_SB31_10G_CX4: | 169 | case NETXEN_BRDTYPE_P2_SB31_10G_CX4: |
170 | case NETXEN_BRDTYPE_P3_10G_CX4: | ||
171 | case NETXEN_BRDTYPE_P3_10G_CX4_LP: | ||
165 | ecmd->supported |= SUPPORTED_TP; | 172 | ecmd->supported |= SUPPORTED_TP; |
166 | ecmd->advertising |= ADVERTISED_TP; | 173 | ecmd->advertising |= ADVERTISED_TP; |
167 | ecmd->port = PORT_TP; | 174 | ecmd->port = PORT_TP; |
@@ -171,12 +178,17 @@ netxen_nic_get_settings(struct net_device *dev, struct ethtool_cmd *ecmd) | |||
171 | break; | 178 | break; |
172 | case NETXEN_BRDTYPE_P2_SB31_10G_HMEZ: | 179 | case NETXEN_BRDTYPE_P2_SB31_10G_HMEZ: |
173 | case NETXEN_BRDTYPE_P2_SB31_10G_IMEZ: | 180 | case NETXEN_BRDTYPE_P2_SB31_10G_IMEZ: |
181 | case NETXEN_BRDTYPE_P3_IMEZ: | ||
182 | case NETXEN_BRDTYPE_P3_XG_LOM: | ||
183 | case NETXEN_BRDTYPE_P3_HMEZ: | ||
174 | ecmd->supported |= SUPPORTED_MII; | 184 | ecmd->supported |= SUPPORTED_MII; |
175 | ecmd->advertising |= ADVERTISED_MII; | 185 | ecmd->advertising |= ADVERTISED_MII; |
176 | ecmd->port = PORT_FIBRE; | 186 | ecmd->port = PORT_FIBRE; |
177 | ecmd->autoneg = AUTONEG_DISABLE; | 187 | ecmd->autoneg = AUTONEG_DISABLE; |
178 | break; | 188 | break; |
179 | case NETXEN_BRDTYPE_P2_SB31_10G: | 189 | case NETXEN_BRDTYPE_P2_SB31_10G: |
190 | case NETXEN_BRDTYPE_P3_10G_SFP_PLUS: | ||
191 | case NETXEN_BRDTYPE_P3_10G_XFP: | ||
180 | ecmd->supported |= SUPPORTED_FIBRE; | 192 | ecmd->supported |= SUPPORTED_FIBRE; |
181 | ecmd->advertising |= ADVERTISED_FIBRE; | 193 | ecmd->advertising |= ADVERTISED_FIBRE; |
182 | ecmd->port = PORT_FIBRE; | 194 | ecmd->port = PORT_FIBRE; |