svn commit: r279804 - head/sys/dev/ixgbe

Marcelo Araujo araujo at FreeBSD.org
Mon Mar 9 08:43:28 UTC 2015


Author: araujo (ports committer)
Date: Mon Mar  9 08:43:27 2015
New Revision: 279804
URL: https://svnweb.freebsd.org/changeset/base/279804

Log:
  Now ifconfig(8) can set the media option as 10Gbase-T for ixgbe(4).
  
  Differential Revision:	D823
  Reviewed by:	jfvogel
  Approved by:	jfvogel
  Sponsored by:	QNAP Systems Inc.

Modified:
  head/sys/dev/ixgbe/ixgbe.c

Modified: head/sys/dev/ixgbe/ixgbe.c
==============================================================================
--- head/sys/dev/ixgbe/ixgbe.c	Mon Mar  9 08:22:11 2015	(r279803)
+++ head/sys/dev/ixgbe/ixgbe.c	Mon Mar  9 08:43:27 2015	(r279804)
@@ -1764,6 +1764,7 @@ ixgbe_media_change(struct ifnet * ifp)
 		return (EINVAL);
 
         switch (IFM_SUBTYPE(ifm->ifm_media)) {
+	case IFM_10G_T:
         case IFM_AUTO:
                 adapter->hw.phy.autoneg_advertised =
 		    IXGBE_LINK_SPEED_100_FULL |


More information about the svn-src-head mailing list