lkml.org 
[lkml]   [2008]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Re: [git patches] libata updates - (improve post-reset device ready test) regression
Tejun Heo wrote:
> This means that we need to make custom readiness tests for controllers
> using 0x77 or 0x7f. Eeeek... Both groups of controllers are behaving in
> incorrect way. Controllers shouldn't use 0x77 or 0x7f for either busy
> or ready states - it's invalid for both, yet, some use the 77/7f for
> busy while others use them for ready state. Great. :-(


I think that's assuming too much? PATA and SATA are quite different
here... in PATA the status is mostly the value from the device directly
off the wires. in SATA, it may be from the device or from the
controller. And "smart" or firmware-based controllers may generate
their own status, too, apart from the device's status.

So that results in varied status returns, and not all the time is a
definite "ready" or "not ready" obvious.

Jeff




\
 
 \ /
  Last update: 2008-05-09 06:41    [W:0.309 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site