[haiku-bugs] Re: [Haiku] #35: Implement a TTY module layer

  • From: "mmlr" <trac@xxxxxxxxxxxx>
  • Date: Wed, 08 Dec 2010 13:24:07 -0000

#35: Implement a TTY module layer
----------------------------------+------------------------------
  Reporter:  maxim@…              |        Owner:
      Type:  enhancement          |       Status:  new
  Priority:  blocker              |    Milestone:  R1/beta1
 Component:  Drivers/TTY          |      Version:  R1/Development
Resolution:                       |     Keywords:
Blocked By:                       |  Has a Patch:  0
  Platform:  All                  |     Blocking:
----------------------------------+------------------------------

Old description:

> == TTY Layer ==
>  1. Rework our current TTY layer into a module
>  1. Create an API that fulfills the need of a serial port
>    * traditional RS232
>    * serial over USB.
>  1. Integrate the new API into the serial drivers that are already in our
> repository,
>  1. Make sure everything works as expected.
>  1. Until now the serial port was reserved for kernel debugging, but it
> is now time for proper userland support.
>
> Additional information may be at the haiku ML thread
> [//www.freelists.org/post/haiku/GSoC-Drivers-on-TTY-Layer  Drivers
> on TTY Layer]

New description:

 == TTY Layer ==
  1. Rework our current TTY layer into a module
  1. Create an API that fulfills the need of a serial port
    * traditional RS232
    * serial over USB.
  1. Integrate the new API into the serial drivers that are already in our
 repository,
  1. Make sure everything works as expected.
  1. Until now the serial port was reserved for kernel debugging, but it is
 now time for proper userland support.

 Additional information may be at the haiku ML thread
 [//www.freelists.org/post/haiku/GSoC-Drivers-on-TTY-Layer  Drivers on
 TTY Layer]

--

Comment (by mmlr):

 I've implemented a generic tty module based on the tty driver in r39760
 and ported over usb_serial to it in r39762. The pc_serial (RS232) driver
 still needs to be ported and the tty driver should now be reworked to use
 the tty module and only provide the driver specific code that was left out
 in the generic module. I'm going to work on the tty driver but will leave
 the pc_serial driver alone. François still wanted to keep backwards
 compatibility for now and I myself don't have any real serial ports where
 I could test it on anymore.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/35#comment:15>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: