From owner-svn-src-head@freebsd.org Wed Mar 1 04:40:58 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5BE79CF2378; Wed, 1 Mar 2017 04:40:58 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 28F2DA66; Wed, 1 Mar 2017 04:40:58 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v214evEg023204; Wed, 1 Mar 2017 04:40:57 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v214ev08023203; Wed, 1 Mar 2017 04:40:57 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201703010440.v214ev08023203@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Wed, 1 Mar 2017 04:40:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r314469 - head/sys/dev/twa X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2017 04:40:58 -0000 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 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 */ /*