svn commit: r281251 - stable/10/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Wed Apr 8 01:16:20 UTC 2015


Author: np
Date: Wed Apr  8 01:16:19 2015
New Revision: 281251
URL: https://svnweb.freebsd.org/changeset/base/281251

Log:
  MFC r279969:
  
  cxgbe(4):  fix if_media handling for T520-BT cards.  1Gbps and 100Mbps
  are valid for this card.

Modified:
  stable/10/sys/dev/cxgbe/t4_main.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/cxgbe/t4_main.c
==============================================================================
--- stable/10/sys/dev/cxgbe/t4_main.c	Wed Apr  8 01:09:36 2015	(r281250)
+++ stable/10/sys/dev/cxgbe/t4_main.c	Wed Apr  8 01:16:19 2015	(r281251)
@@ -2807,9 +2807,6 @@ build_medialist(struct port_info *pi, st
 
 	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 */


More information about the svn-src-all mailing list