[SCSI] aacraid: expose physical devices for models with newer firmware
authorRajashekhara, Mahesh <Mahesh_Rajashekhara@adaptec.com>
Mon, 10 May 2010 11:12:28 +0000 (04:12 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 17 May 2010 02:35:54 +0000 (22:35 -0400)
commite3cc268fe4a0ad1cbefbc53cee35c80281e609b8
tree2a01479de6fc10141975e14674060f43adec5e59
parent5ca05594097438f81337e53ad50c2d17ffc28238
[SCSI] aacraid: expose physical devices for models with newer firmware

The default driver setting is "expose_physicals=0", which means raw
physical drives are not exposed to OS.  If the user wants to expose
connected physical drives, enable "expose_physicals" module parameter.
With the new JBOD firmware, physical drives are not available for
"expose_physicals>0".  In function "aac_expose_phy_device", modified
to reset the appropriate bit in the first byte of inquiry data.  This
fix exposes the connected physical drives.

Signed-off-by: Mahesh Rajashekhara <aacraid@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/aacraid/aachba.c