1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

sfxge: Use SFXGE_MODERATION to initialize event moderation

Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)
This commit is contained in:
Andrew Rybchenko 2015-01-29 19:06:14 +00:00
parent 123b769617
commit 745714c104
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277893

View File

@ -875,7 +875,7 @@ sfxge_ev_init(struct sfxge_softc *sc)
/* Set default interrupt moderation; add a sysctl to
* read and change it.
*/
sc->ev_moderation = 30;
sc->ev_moderation = SFXGE_MODERATION;
SYSCTL_ADD_PROC(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree),
OID_AUTO, "int_mod", CTLTYPE_UINT|CTLFLAG_RW,
sc, 0, sfxge_int_mod_handler, "IU",