Skip to contentSkip to conversation

Support for maximal supported mode

DISCUSSION Ingo Oeser 1 participant 1 message Feb 13, 2001

lore
Share & tools
lore

Ingo Oeser

author
#0 lore raw

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

Signature · 2 lines
10.+11.03.2001 - 3. Chemnitzer LinuxTag <http://www.tu-chemnitz.de/linux/tag>
         <<<<<<<<<<<<       come and join the fun       >>>>>>>>>>>>