[PATCH 1/5] libata-dev: Add back missing dev->cdb_len = 16

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add back missing dev->cdb_len = 16 in ata_dev_identify().

Signed-off-by: Albert Lee <albertcc@xxxxxxxxxx>

---
Originally done in Tejun's patch.
Add back to make hard drive probed.

--- irq-pio/drivers/scsi/libata-core.c	2006-03-10 16:03:36.000000000 +0800
+++ catchup0/drivers/scsi/libata-core.c	2006-03-10 18:18:04.000000000 +0800
@@ -1143,6 +1143,7 @@ static void ata_dev_identify(struct ata_
 				ap->id, device, dev->multi_count);
 		}
 
+		dev->cdb_len = 16;
 	}
 
 	/* ATAPI-specific feature tests */


-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux