SCSI spin down on suspend (patch)

2003-11-04 Thread Walter C. Pelissero
I amended the patch. Now: - the behaviour is controlled by a sysctl (off by default) . - a 1s delay is done after each drive spin up, making things easier for the system power supply - no need to define anything; APM or ACPI methods are chosen according to what has been made available

SCSI spin down on suspend (patch)

2003-11-02 Thread Walter C. Pelissero
I eventually got around to hack scsi_da.c to implement spin down/up on suspend/resume events of APM or ACPI. Actually the ACPI stuff is untested and the APM once didn't work properly on my system: one of the disks, after resume, was misbehaving (hardware errors). A power toggle fixed the problem,