[SCSI] libsas: Warn if ATA device detected but CONFIG_SCSI_SAS_ATA not set
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 26 Mar 2008 16:26:13 +0000 (09:26 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 27 Mar 2008 22:12:16 +0000 (15:12 -0700)
commit15c73d5afd9f7489ca6a71cd0bef60f94c0c85a8
tree2169e85af162b1b9b1d58b997db004090033c5a0
parent77cca462c69d827fabee0ef3fdab86109c2fe8d8
[SCSI] libsas: Warn if ATA device detected but CONFIG_SCSI_SAS_ATA not set

We give a very cryptic error if an ATA device is seen on a SAS port
but libsas isn't compiled to include libata to handle them.  Add an
extra warning to explain specifically what the problem is.

Acked-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/libsas/sas_discover.c