Re: [PATCH 5/5] VT binding: Add new doc file describing the feature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/10/06, Jon Smirl <[email protected]> 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
[email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux