Re: [PATCH] libata: skip reset on bus not a device

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

 



Joe Jin wrote:
> It's against libata development tree. So, you downloaded the tar.gz and
> tested it?

no, but at latest kernel 2.6.19-rc1 use the same tree as you said, and
it also can worked

I see.  It's irrelevant anyway.

And, one more thing to try.  The following patch should fix your
problem.  It's against v2.6.18.


while applied the patch, error info gone :)

A question: if the status register return 0xFF means the device not exist?
why not use ata_devchk()?

Many SATA controllers emulate TF registers and pass devchk even when no device is attached. I don't know whether the two conditions can happen together - 0xFF status is usually seen on PATA. Anyways, it's more reliable to test 0xFF. Also, that's what driver/ide has been doing for a long long time and we don't want to deviate from it if possible.

--
tejun
-
To unsubscribe from this list: 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