Author: imp
Date: Wed Mar  1 04:40:57 2017
New Revision: 314469
URL: https://svnweb.freebsd.org/changeset/base/314469

Log:
  Update tw_cl_share.h to allow 255 LUNs
  
  TW_CL_MAX_NUM_LUNS should not be 16 but I presume 255. I have a 3ware
  controller with more than 16 volumes (LUN's) and otherwise all LUN's
  above the 16'th are not working.
  
  Submitted by: jcatrysse <j.catry...@proximedia.be>
  Pull Request: https://github.com/freebsd/freebsd/pull/100

Modified:
  head/sys/dev/twa/tw_cl_share.h

Modified: head/sys/dev/twa/tw_cl_share.h
==============================================================================
--- head/sys/dev/twa/tw_cl_share.h      Wed Mar  1 04:35:21 2017        
(r314468)
+++ head/sys/dev/twa/tw_cl_share.h      Wed Mar  1 04:40:57 2017        
(r314469)
@@ -68,7 +68,7 @@
 #define TW_CL_MAX_NUM_UNITS            32      /* max # of units we support */
 #endif /* TW_OSL_ENCLOSURE_SUPPORT */
 
-#define TW_CL_MAX_NUM_LUNS             16      /* max # of LUN's we support */
+#define TW_CL_MAX_NUM_LUNS             255     /* max # of LUN's we support */
 #define TW_CL_MAX_IO_SIZE              0x20000 /* 128K */
 
 /*
_______________________________________________
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