Re: [PATCH 3/5] qla2xxx: Restrict max_luns to 16-bit for older HBAs

2014-05-15 Thread Hannes Reinecke
On 05/15/2014 08:38 AM, Christoph Hellwig wrote: On Tue, Dec 10, 2013 at 01:26:21PM -0500, Chad Dupuis wrote: + if (!IS_QLAFX00(ha) && !IS_FWI2_CAPABLE(ha)) { + /* HW supports only 16-bit LUNs */ + if (ql2xmaxlun > 0x) + ql2xmaxlun = 0x

Re: [PATCH 3/5] qla2xxx: Restrict max_luns to 16-bit for older HBAs

2014-05-14 Thread Christoph Hellwig
On Tue, Dec 10, 2013 at 01:26:21PM -0500, Chad Dupuis wrote: > >+if (!IS_QLAFX00(ha) && !IS_FWI2_CAPABLE(ha)) { > >+/* HW supports only 16-bit LUNs */ > >+if (ql2xmaxlun > 0x) > >+ql2xmaxlun = 0x; > >+} > > host->max_lun = ql2xmaxlun;

Re: [PATCH 3/5] qla2xxx: Restrict max_luns to 16-bit for older HBAs

2013-12-10 Thread Chad Dupuis
On Tue, 10 Dec 2013, Hannes Reinecke wrote: Older HBAs are only capable of supporting 16-bit LUNs, so we need to make sure to adjust the 'ql2xmaxlun' parameter accordingly. Cc: Chad Dupuis Signed-off-by: Hannes Reinecke --- drivers/scsi/qla2xxx/qla_os.c | 5 + 1 file changed, 5 insertion

[PATCH 3/5] qla2xxx: Restrict max_luns to 16-bit for older HBAs

2013-12-10 Thread Hannes Reinecke
Older HBAs are only capable of supporting 16-bit LUNs, so we need to make sure to adjust the 'ql2xmaxlun' parameter accordingly. Cc: Chad Dupuis Signed-off-by: Hannes Reinecke --- drivers/scsi/qla2xxx/qla_os.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/scsi/qla2xxx/qla_os.