Skip to content

Commit

Permalink
hyperv/hn: Set baudrate properly
Browse files Browse the repository at this point in the history
PR:		208931
Submitted by:	Eugene Grosbein <ports grosbein net>
Reported by:	Eugene Grosbein <ports grosbein net>
MFC after:	1 week
Sponsored by:	Microsoft
  • Loading branch information
sephe authored and sephe committed Oct 25, 2016
1 parent 5e52502 commit e57ec55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
Expand Up @@ -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;
Expand Down

0 comments on commit e57ec55

Please sign in to comment.