summaryrefslogtreecommitdiffstats
path: root/sys/dev/ixgbe
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2015-03-09 08:43:27 +0000
committeraraujo <araujo@FreeBSD.org>2015-03-09 08:43:27 +0000
commit005b6181806cea0fedbd9d5a070a6aa7ed21c13d (patch)
treefa8e237ca910879d0d1d5216a17ed027319399f0 /sys/dev/ixgbe
parent46af130ab122fed24758a51e2bac1d4785f5e3c9 (diff)
downloadFreeBSD-src-005b6181806cea0fedbd9d5a070a6aa7ed21c13d.zip
FreeBSD-src-005b6181806cea0fedbd9d5a070a6aa7ed21c13d.tar.gz
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.
Diffstat (limited to 'sys/dev/ixgbe')
-rw-r--r--sys/dev/ixgbe/ixgbe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ixgbe/ixgbe.c b/sys/dev/ixgbe/ixgbe.c
index ecaa37a..0d5021c 100644
--- a/sys/dev/ixgbe/ixgbe.c
+++ b/sys/dev/ixgbe/ixgbe.c
@@ -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 |
OpenPOWER on IntegriCloud