[lkml]   [2006]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 5/5] VT binding: Add new doc file describing the feature
    On 6/10/06, Jon Smirl <> wrote:
    > The problem with the previous system was that bind(register) and open
    > were combined into a single operation when they should be separate. I
    > should be able to load four console drivers and then pick the one I
    > want to switch to without automatically having the console jump to
    > each device as the drivers are loaded.

    I should clarify this, take_over_console() combines the registration
    and open operations. If I loaded four console drivers using
    take_over_console() my console would bounce from device to device as
    the drivers are loaded. The real problem with the take_over_console()
    implementation was that it effectively made loading console drivers
    into a stack operation instead of a set operation.

    take_over_console() is not incompatible with the scheme I described in
    the previous mail if the implementation is changed inside console.
    The new implementation would just call the register and open
    operations as described earlier. When loading four consoles using
    take_over_console() you would still bounce through the four consoles
    but once loaded the console drivers would act as a set. You could use
    sysfs to switch to any of the registered consoles. If a console driver
    is not open it could be unloaded in any order.

    Long term I think take_over_console() should be deprecated in favor of
    a register(bind) call from the console driver and an explicit sysfs
    action to move the console.

    Jon Smirl
    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: 2006-06-10 19:04    [W:0.021 / U:21.916 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site