Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2016 03:01:31 +0000 (UTC)
From:      Sepherosa Ziehau <sephe@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r308620 - stable/11/sys/dev/hyperv/netvsc
Message-ID:  <201611140301.uAE31VpA042624@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sephe
Date: Mon Nov 14 03:01:30 2016
New Revision: 308620
URL: https://svnweb.freebsd.org/changeset/base/308620

Log:
  MFC 307893
  
      hyperv/hn: Set baudrate properly
  
      PR:             208931
      Submitted by:   Eugene Grosbein <ports grosbein net>
      Reported by:    Eugene Grosbein <ports grosbein net>
      Sponsored by:   Microsoft

Modified:
  stable/11/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
==============================================================================
--- stable/11/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c	Mon Nov 14 00:33:03 2016	(r308619)
+++ stable/11/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c	Mon Nov 14 03:01:30 2016	(r308620)
@@ -789,6 +789,7 @@ netvsc_attach(device_t dev)
 	 * Setup the ifnet for this interface.
 	 */
 
+	ifp->if_baudrate = IF_Gbps(10);
 	ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
 	ifp->if_ioctl = hn_ioctl;
 	ifp->if_init = hn_init;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611140301.uAE31VpA042624>