]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
sfxge: use if_initbaudrate() to set interface baudrate
authorarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Jun 2015 15:41:09 +0000 (15:41 +0000)
committerarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Jun 2015 15:41:09 +0000 (15:41 +0000)
commitd1ac15c5d583358cc3a41b921971dc32729d0418
tree5dd922f1fab6b53c4c6d910149d94a09b722753f
parent4a38e1f10133bdc028ec1cfd23bf9ba5aa3d2391
sfxge: use if_initbaudrate() to set interface baudrate

It is required to cope with u_long limit for 10 Gbps in a right way.
It is a direct commit to stable/10 since head differs (head does not
have if_initbaudrate(), if_baudrate is simply uint64_t).

Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D2849

git-svn-id: svn://svn.freebsd.org/base/stable/10@284554 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sfxge/sfxge_port.c