ibook, hda power off sequence (for IBM travelstar)
Benjamin Herrenschmidt
benh at kernel.crashing.org
Mon Jan 8 22:26:25 EST 2001
>
>This bit of code replaces pmu_shutdown from via-pmu.c, its the easiest
>hack to get the IDE code to issue a sleep command to the disk at shutdown
>time.
Broadcasting fake sleep requests is definitely not the correct way to
acheive what you want. Either add direct call to some ide-pmac sleep
function in the arch shutdown function, or use the shutdown notifiers in
ide-pmac to force a disk shutdown.
I'll have a look at it when I'm really back.
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list