[lkml]   [2004]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Linux 2.6.6 "IDE cache-flush at shutdown fixes"
    Herbert Xu <> wrote:
    > Andrew Morton <> wrote:
    > >
    > > I don't know if it's worth the effort though. Is any other driver likely
    > > to want to discriminate between reboot and shutdown?
    > e100 used to (and still does in 2.4) send the device into D3 on shutdown.
    > This causes problems on a number of boards if the box is only rebooting
    > as the driver fails to bring the device back out of D3.

    Ho hum. Greg, any preferences? We can either:

    a) Add a `restart' driver method and call that during reboot instead of
    ->shutdown, if the driver implements ->restart. Otherwise call
    ->shutdown or

    b) stick with the

    if (system_state == SYSTEM_RESTART)

    thing in IDE and potentially a couple of other places?
    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 14:03    [W:0.019 / U:5.304 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site