Re: IDE janitoring comments

Richard Zidlicky (rz@linux-m68k.org)
Tue, 24 Sep 2002 11:27:32 +0200


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/