[SCSI] libsas: Unknown STP devices should be reported to libata as unknown.
authorDarrick J. Wong <djwong@us.ibm.com>
Tue, 30 Jan 2007 09:18:52 +0000 (01:18 -0800)
committerJames Bottomley <jejb@mulgrave.localdomain>
Wed, 18 Jul 2007 16:15:41 +0000 (11:15 -0500)
commit5986c3d305f497d3ff33d65e4d9ff6d00121407b
tree5c3c008f3ef68927680b530b3f81766899755946
parentd97db63f8dd22e7b669982e47db0c5e3f569a6b5
[SCSI] libsas: Unknown STP devices should be reported to libata as unknown.

When libsas encounters a STP device whose protocol isn't recognized (i.e.
not ATA or ATAPI), we should set the ata_device's class to ATA_DEV_UNKNOWN
instead of ATA_DEV_ATA.

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