lkml.org 
[lkml]   [2007]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ICH Intel PATA short cable override...
Mark Lord wrote:
> Jeff Garzik wrote:
>> Mark Lord wrote:
>>> Ditto for selecting transfer modes.
>>
>>
>> Waiting on one thing AFAICS:
>>
>> ability to drain/idle all ports +
>> issue a command on one port +
>> resume normal parallel port operation
>>
>> SET FEATURES - XFER MODE is special in that it requires all sorts of
>> additional controller handling and careful cross-port synchronization.
>
> Absolutely.
>
> Also note that I'm *not* advocating HDIO_SET_PIO_MODE (and kin) here,
> but rather perhaps a sysfs option per-drive. It is needed, especially for
> custom/embedded systems, and I suppose we will get there eventually. :)

(did I reply to this already? I forget)

We don't need any sysfs options. Just normal SG_IO sending a SET
FEATURES - XFER MODE command to the desired device.

Currently, that [sub-]command is intentionally filtered out because of
the problems that would ensue.

Once the above EH mods are in place, we simply remove that filter, and
The Right Thing(tm) happens when you submit an ATA command via normal
methods. No need for new sysfs hooks or new ioctls or anything.

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-09-16 10:01    [W:0.134 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site