On Thu, 26 Oct 2000, Stephen Rothwell wrote:
> 
> OK, I include below a more or less translation for 2.4.  I have not even
> compiled this, and have not got the hardware to test it anyway.

I disagree violently with doing this in the low-level drivers.

If it cannot be done in user space (which is dubious in itself, but I'll
certainly accept it), then why not just do the equivalent of a reset in
the high-level IDE driver on coming back from sleep? Possibly together
with forcing any other setup state we know about.

That, together with using the pci_register_driver() thing, would be my
preferred approach by far. This kind of low-level twiddling and special
casing _will_ come back to haunt us later.

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to