summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authornp <np@FreeBSD.org>2015-04-08 01:16:19 +0000
committernp <np@FreeBSD.org>2015-04-08 01:16:19 +0000
commitb8f1e4d961a8e2c1edd31f3e3313f58dc6a0e22b (patch)
tree383c7b7bc27aefb95e9e6c3269e320d7b070d4ba /sys
parentc295a66ae0372f5ca860f5d2f684349cb7232baa (diff)
downloadFreeBSD-src-b8f1e4d961a8e2c1edd31f3e3313f58dc6a0e22b.zip
FreeBSD-src-b8f1e4d961a8e2c1edd31f3e3313f58dc6a0e22b.tar.gz
MFC r279969:
cxgbe(4): fix if_media handling for T520-BT cards. 1Gbps and 100Mbps are valid for this card.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/cxgbe/t4_main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c
index 35518f4..ddc0842 100644
--- a/sys/dev/cxgbe/t4_main.c
+++ b/sys/dev/cxgbe/t4_main.c
@@ -2807,9 +2807,6 @@ build_medialist(struct port_info *pi, struct ifmedia *media)
switch(pi->port_type) {
case FW_PORT_TYPE_BT_XFI:
- ifmedia_add(media, m | IFM_10G_T, data, NULL);
- break;
-
case FW_PORT_TYPE_BT_XAUI:
ifmedia_add(media, m | IFM_10G_T, data, NULL);
/* fall through */
OpenPOWER on IntegriCloud