lkml.org 
[lkml]   [2004]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Linux 2.6.6 "IDE cache-flush at shutdown fixes"
    Herbert Xu <herbert@gondor.apana.org.au> wrote:
    >
    > Andrew Morton <akpm@osdl.org> 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 majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:03    [W:0.026 / U:1.124 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site