]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sfxge(4): fix Medford timer quantum calculation in common code
authorarybchik <arybchik@FreeBSD.org>
Tue, 17 May 2016 06:26:02 +0000 (06:26 +0000)
committerarybchik <arybchik@FreeBSD.org>
Tue, 17 May 2016 06:26:02 +0000 (06:26 +0000)
commit827fd63ffa37da92b78f9d8dd4f1a9f27f03c24a
tree5f54b2d77bf2e268acb0bea89d765e468f0da78d
parent1718ddb85c738d25ed14790f7ef1a0508820a900
sfxge(4): fix Medford timer quantum calculation in common code

The event/timer block used sysclk in Huntington, but has been
moved to the dpcpu clock domain for Medford. Fix the computed
timer quantum to use the right clock.

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D6389
sys/dev/sfxge/common/ef10_impl.h
sys/dev/sfxge/common/ef10_nic.c
sys/dev/sfxge/common/hunt_nic.c
sys/dev/sfxge/common/medford_nic.c