[lkml]   [2002]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Suspend support for IDE
Pavel Machek wrote:

> Wake from S3 or S4 should look like power-up from disks perspective. I
> should need no commands to do that.
> Restoring right UDMA mode... Well, I'll need to do that,
> probably. (What I have there is just enough to prevent disk
> corruption. I'm still likely to see some bus resets, but no longer
> data loose, I believe.)

Yeep. But doing this will only be possible in few weeks, when
the corresponding setup code is really modularized and note
the current "ifdef whatever" buch of collected fixes.
However for certain your patch is a starting point and
we are in odd series anyway...

>>The suspend order similarly is important - finish the current
> The while loop above should make sure no command is happening just
> now, right?

Beware of the long houl interrupts found by ide_add_timer

>>then flush the disk cache, then when it completes you can tell the
> Disks that need cache flush are broken, anyway -- they lied us on
> command completion -- right?

;-)... And the games they wan't to play on the data registers are
silly as well... if you ask me... well personally they are running
directly into a "backword compatibility to our own mistakes" trap.
The only comparable thing to this was the QIC interfaces abusing the
floppy disk stepper line for *serial* command transfer.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:24    [from the cache]
©2003-2011 Jasper Spaans