lkml.org 
[lkml]   [2002]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: IDE janitoring comments

Switch the transport on the fly for the channel based on the OPCODE.

Easy to say harder to do.

Andre Hedrick
LAD Storage Consulting Group

On Tue, 24 Sep 2002, Richard Zidlicky wrote:

> On Mon, Sep 23, 2002 at 05:28:03PM -0700, Andre Hedrick wrote:
> >
> > Poke in your own special ide-ops function pointers.
> > This should have been allowed on a per chipset/channel bases.
>
> I need different transfer functions depending on whether drive
> control data(like IDENT,SMART) or HD sectors are to be transfered.
> Control data requires byteswapping to correct bus-byteorder
> whereas sector r/w has to be raw for compatibility.
>
> So that will require 2 additional iops pointers and some change
> in ide_handler_parser or ide_cmd_type_parser to select the
> appropriate version depending on the drive command.
>
> Richard
>

-
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: 2005-03-22 13:29    [from the cache]
©2003-2011 Jasper Spaans