Re: Problem setting dma using pata_it821x driver in vanilla 2.6.23.12 and gentoo-sources 2.6.23-r3

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

 



Marc Howard Zuckman wrote:
> On Fri, 11 Jan 2008, Tejun Heo, replying to Marc Zuckman  wrote:
> 
>>>     Zuckman:
> 
>>> Is it possible that both drivers are present in the kernel and conflict
>>> with one another in some fashion?
>>     Heo:
> 
>> The don't conflict.  If both are in the kernel, IDE drivers have
>> priority.  Can you please try the libata driver and see if anything is
>> different?
> 
> It's different, but the drive array does not function.
> 
> These are the boot messages with libata and pata_it821x configured.
> Note that I left the old ide drivers in the kernel for the ICH5
> controller.

Does this change anything?  And, yeah, I really wanna see the hdparm
--Istdout too.

Thanks.

-- 
tejun
---
 drivers/ata/libata-core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: tree0/drivers/ata/libata-core.c
===================================================================
--- tree0.orig/drivers/ata/libata-core.c
+++ tree0/drivers/ata/libata-core.c
@@ -1745,7 +1745,7 @@ int ata_dev_read_id(struct ata_device *d
 		 * anything else..
 		 * Some drives were very specific about that exact sequence.
 		 */
-		if (ata_id_major_version(id) < 4 || !ata_id_has_lba(id)) {
+		if (0 && (ata_id_major_version(id) < 4 || !ata_id_has_lba(id))) {
 			err_mask = ata_dev_init_params(dev, id[3], id[6]);
 			if (err_mask) {
 				rc = -EIO;

[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