projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d97db63
)
[SCSI] libsas: Unknown STP devices should be reported to libata as unknown.
author
Darrick J. Wong
<
[email protected]
>
Tue, 30 Jan 2007 09:18:52 +0000
(
01:18
-0800)
committer
James Bottomley
<
[email protected]
>
Wed, 18 Jul 2007 16:15:41 +0000
(11:15 -0500)
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 <
[email protected]
>
Signed-off-by: James Bottomley <
[email protected]
>
drivers/scsi/libsas/sas_ata.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/libsas/sas_ata.c
b/drivers/scsi/libsas/sas_ata.c
index 004b463a1c4eae38ed03998d8a004b011edc02c5..e164f58f38593894f1d9d8a9707c3a31e3ca5032 100644
(file)
--- a/
drivers/scsi/libsas/sas_ata.c
+++ b/
drivers/scsi/libsas/sas_ata.c
@@
-232,7
+232,7
@@
static void sas_ata_phy_reset(struct ata_port *ap)
SAS_DPRINTK("%s: Unknown SATA command set: %d.\n",
__FUNCTION__,
dev->sata_dev.command_set);
- ap->device[0].class = ATA_DEV_
ATA
;
+ ap->device[0].class = ATA_DEV_
UNKNOWN
;
break;
}