svn commit: r307893 - head/sys/dev/hyperv/netvsc

Sepherosa Ziehau sephe at FreeBSD.org
Tue Oct 25 01:41:41 UTC 2016


Author: sephe
Date: Tue Oct 25 01:41:39 2016
New Revision: 307893
URL: https://svnweb.freebsd.org/changeset/base/307893

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

Modified:
  head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c

Modified: head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
==============================================================================
--- head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c	Tue Oct 25 01:32:35 2016	(r307892)
+++ head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c	Tue Oct 25 01:41:39 2016	(r307893)
@@ -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;


More information about the svn-src-head mailing list