mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* devfs and tty layer.
@ 2002-07-31 17:37 James Simmons
  2002-07-31 17:39 ` Russell King
  0 siblings, 1 reply; 3+ messages in thread
From: James Simmons @ 2002-07-31 17:37 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux Kernel Mailing List


Hi!

   As you already seen there has been a issue with devfs and the VT code.
I have moved the tty registeration later for VTs so the TTY_DRIVER_NO_DEVFS
flag was no longer needed. Because I removed this now tty_register_driver
calls tty_register_devfs instead of con_init_devfs. Now when con_init_devfs
was calling tty_register_devfs it was passing a different flag to devfs
then the default tty_register_driver does. So I have been thinking about
different approachs to the problem.

1) The first approach is to change the tty_register_devfs function to pass
   in the flag.

2) Add a devfs flag field to struct tty_driver.

3) Remove tty_register_devfs from tty_register_driver and have each tty
   driver call tty_register_devfs its self.


What solution would you do?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: devfs and tty layer.
  2002-07-31 17:37 devfs and tty layer James Simmons
@ 2002-07-31 17:39 ` Russell King
  2002-07-31 17:43   ` James Simmons
  0 siblings, 1 reply; 3+ messages in thread
From: Russell King @ 2002-07-31 17:39 UTC (permalink / raw)
  To: James Simmons; +Cc: Linus Torvalds, Linux Kernel Mailing List

On Wed, Jul 31, 2002 at 10:37:15AM -0700, James Simmons wrote:
>    As you already seen there has been a issue with devfs and the VT code.
> I have moved the tty registeration later for VTs so the TTY_DRIVER_NO_DEVFS
> flag was no longer needed.

It's needed for serial.  Please don't remove it just yet.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: devfs and tty layer.
  2002-07-31 17:39 ` Russell King
@ 2002-07-31 17:43   ` James Simmons
  0 siblings, 0 replies; 3+ messages in thread
From: James Simmons @ 2002-07-31 17:43 UTC (permalink / raw)
  To: Russell King; +Cc: Linus Torvalds, Linux Kernel Mailing List


> On Wed, Jul 31, 2002 at 10:37:15AM -0700, James Simmons wrote:
> >    As you already seen there has been a issue with devfs and the VT code.
> > I have moved the tty registeration later for VTs so the TTY_DRIVER_NO_DEVFS
> > flag was no longer needed.
>
> It's needed for serial.  Please don't remove it just yet.

I have no intention to have TTY_DRIVERS_NO_DEVFS removed. I just don't
need it anymore for VTs.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-07-31 17:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-31 17:37 devfs and tty layer James Simmons
2002-07-31 17:39 ` Russell King
2002-07-31 17:43   ` James Simmons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®