svn commit: r289205 - head/sys/dev/ntb/ntb_hw

Conrad E. Meyer cem at FreeBSD.org
Tue Oct 13 03:10:05 UTC 2015


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


More information about the svn-src-head mailing list