Author: arybchik
Date: Thu Jan 14 09:07:40 2016
New Revision: 293892
URL: https://svnweb.freebsd.org/changeset/base/293892

Log:
  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.
  MFC after:      2 days
  Differential Revision: https://reviews.freebsd.org/D4913

Modified:
  head/sys/dev/sfxge/common/hunt_ev.c

Modified: head/sys/dev/sfxge/common/hunt_ev.c
==============================================================================
--- head/sys/dev/sfxge/common/hunt_ev.c Thu Jan 14 09:05:51 2016        
(r293891)
+++ head/sys/dev/sfxge/common/hunt_ev.c Thu Jan 14 09:07:40 2016        
(r293892)
@@ -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);
        }
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to