Alan Cox wrote:
A more generalized rule to consider for the future would be to ensure
that ALL suspend routines put the hardware back into its pre-Linux init
mode before suspending. i.e. that means if we turned on some enhanced
mode, we must switch back to legacy mode before calling pci_xxx to
suspend our device.
This sounds good but for some hardware you can't get it back into that
state and there is no guarantee some laptops don't have ACPI suspend
paths that "know" Windows will have reconfigured the hardware.
Good point. To generalize a bit more: it is quite possible that many
situations will require us to put the hardware device into a certain
mode before suspending, a mode that Linux may not currently be operating
in. ata_piix is definitely not going to be the only one needing this
change, long term.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html