Author: cem
Date: Tue Oct 13 03:10:04 2015
New Revision: 289205
URL: https://svnweb.freebsd.org/changeset/base/289205

Log:
  NTB: MFV 87034511: Correct Number of Scratch Pad Registers
  
  The NTB Xeon hardware has 16 scratch pad registers and 16 back-to-back
  scratch pad registers.  Correct the #define to represent this and update
  the variable names to reflect their usage.
  
  Authored by:  Jon Mason
  Obtained from:        Linux
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/sys/dev/ntb/ntb_hw/ntb_regs.h

Modified: head/sys/dev/ntb/ntb_hw/ntb_regs.h
==============================================================================
--- head/sys/dev/ntb/ntb_hw/ntb_regs.h  Tue Oct 13 02:34:41 2015        
(r289204)
+++ head/sys/dev/ntb/ntb_hw/ntb_regs.h  Tue Oct 13 03:10:04 2015        
(r289205)
@@ -37,7 +37,7 @@
 
 #define XEON_MSIX_CNT          4
 #define XEON_MAX_SPADS         16
-#define XEON_MAX_COMPAT_SPADS  8
+#define XEON_MAX_COMPAT_SPADS  16
 /* Reserve the uppermost bit for link interrupt */
 #define XEON_MAX_DB_BITS       15
 #define XEON_DB_BITS_PER_VEC   5
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to