Date: Wed, 1 Mar 2017 04:40:57 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r314469 - head/sys/dev/twa Message-ID: <201703010440.v214ev08023203@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.catrysse@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 */ /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703010440.v214ev08023203>