diff options
author | arybchik <arybchik@FreeBSD.org> | 2016-01-20 07:52:24 +0000 |
---|---|---|
committer | arybchik <arybchik@FreeBSD.org> | 2016-01-20 07:52:24 +0000 |
commit | 9d665fc54fbe8426d089332e9e58dea1a722e4eb (patch) | |
tree | 22edfbb7746ed42cd071c58848efee29874ea4cd /sys/dev/sfxge/common | |
parent | aeca94898eda4792d1bd2ff8f40a19f7269f9dcb (diff) | |
download | FreeBSD-src-9d665fc54fbe8426d089332e9e58dea1a722e4eb.zip FreeBSD-src-9d665fc54fbe8426d089332e9e58dea1a722e4eb.tar.gz |
MFC r293892
sfxge: use correct register definitions for setting interrupt moderation on Medford
The only value which has changed is the number of rows
(ER_DZ_EVQ_TMR_REG_ROWS is 2048 vs 1024 for FR_BZ_TIMER_COMMAND_REGP0_ROWS)
but that isn't used, so this shouldn't change behaviour.
Submitted by: Mark Spender <mspender at solarflare.com>
Reviewed by: gnn
Sponsored by: Solarflare Communications, Inc.
Diffstat (limited to 'sys/dev/sfxge/common')
-rw-r--r-- | sys/dev/sfxge/common/hunt_ev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sfxge/common/hunt_ev.c b/sys/dev/sfxge/common/hunt_ev.c index 2cea2e0..6c607cc 100644 --- a/sys/dev/sfxge/common/hunt_ev.c +++ b/sys/dev/sfxge/common/hunt_ev.c @@ -444,9 +444,9 @@ ef10_ev_qmoderate( eep->ee_index, &dword, 0); } else { EFX_POPULATE_DWORD_2(dword, - FRF_CZ_TC_TIMER_MODE, mode, - FRF_CZ_TC_TIMER_VAL, timer_val); - EFX_BAR_TBL_WRITED(enp, FR_BZ_TIMER_COMMAND_REGP0, + ERF_DZ_TC_TIMER_MODE, mode, + ERF_DZ_TC_TIMER_VAL, timer_val); + EFX_BAR_TBL_WRITED(enp, ER_DZ_EVQ_TMR_REG, eep->ee_index, &dword, 0); } |