projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e35a9e0
)
[PATCH] libata - ATA is both ATA and CFA
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Mon, 27 Mar 2006 17:49:19 +0000
(18:49 +0100)
committer
Jeff Garzik
<jeff@garzik.org>
Thu, 30 Mar 2006 00:30:28 +0000
(19:30 -0500)
I think this is still needed with the new probe code (which btw seems to
be missing docs in upstream ?).
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/libata-core.c
b/drivers/scsi/libata-core.c
index 10933cb722e65a08891e601d1e0daef848254d90..41659448a2040cb4e355a021aeffdf9d018a91a3 100644
(file)
--- a/
drivers/scsi/libata-core.c
+++ b/
drivers/scsi/libata-core.c
@@
-1140,7
+1140,7
@@
static int ata_dev_read_id(struct ata_port *ap, struct ata_device *dev,
swap_buf_le16(id, ATA_ID_WORDS);
/* sanity check */
- if ((class == ATA_DEV_ATA) !=
ata_id_is_ata(id
)) {
+ if ((class == ATA_DEV_ATA) !=
(ata_id_is_ata(id) | ata_id_is_cfa(id)
)) {
rc = -EINVAL;
reason = "device reports illegal type";
goto err_out;