Support for maximal supported mode

Ingo Oeser (ingo.oeser@informatik.tu-chemnitz.de)
Tue, 13 Feb 2001 15:32:21 +0100


Hi Andre,
hi lkml,

I need to add support for a maximum transfer mode selection on
drives and channels.

Reason: I have an ata flash disk as boot & root disk, that can
only sucessfully do pio2 and it takes several minutes (5-10)
until it will use pio2. This is not acceptable for embedded
use.

I would like to add sth. like:

hda=udma2,sdma0,pio2

or

ide0=udma0

To say, that this device should only be allowed to use these
modes (or worse according to the mode selection list).

I'm just afraid that I'll not be competent enough to implement
the sequence right (for setting it safely, without data
corruption).

Hope I can get some hints about some open pitfalls while
implementing it straightforward just using set_transfer in a
manner seen by ioctl.

And I would like to know the stage, at which I could should start
applying this setting (since parsing is before ide is set up).

Many Thanks in Advance

Regards

Ingo Oeser

-- 
10.+11.03.2001 - 3. Chemnitzer LinuxTag <http://www.tu-chemnitz.de/linux/tag>
         <<<<<<<<<<<<       come and join the fun       >>>>>>>>>>>>
-
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/