Re: [HEADSUP] naming of tty devices.

From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 09/21/04

  • Next message: Alexey Dokuchaev: "Re: [HEADSUP] naming of tty devices."
    To: Bruce M Simpson <bms@spc.org>
    Date: Tue, 21 Sep 2004 12:14:35 +0200
    
    

    In message <20040921100751.GD842@empiric.icir.org>, Bruce M Simpson writes:
    >On Mon, Sep 20, 2004 at 09:38:45AM +0200, Poul-Henning Kamp wrote:
    >> Other drivers have resorted to various variations of this scheme
    >> (if they were copy&pasted from sio.c) or rolled their own private
    >> naming system. In other words: it's a pretty mess right now.
    >
    >I've noticed the third-party software modem drivers in ports have this
    >problem. I looked at what it would take if we were to rewrite them as
    >uart(4) attachments and was pleasantly surprised to find it'd eliminate
    >the reckless forking of sio(4).
    >
    >However, eliminating the naming inconsistency here can only be a good
    >thing; if uart(4) can be kept in sync with these tty changes so much
    >the better.

    uart is one of our tty drivers and as such it will be part of this.
    (That also means that uart drivers will get cua* and init/lock
    functionality).

    To some extent I'm not entirely sure that lumping anything uart
    finds into one name-category (ttyu*) makes sense, but that is a
    detail decision which can be looked at in the isolated context of
    uart later.

    -- 
    Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
    phk@FreeBSD.ORG         | TCP/IP since RFC 956
    FreeBSD committer       | BSD since 4.3-tahoe    
    Never attribute to malice what can adequately be explained by incompetence.
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
    

  • Next message: Alexey Dokuchaev: "Re: [HEADSUP] naming of tty devices."

    Relevant Pages

    • Re: Proposal for redesigning the TTY layer
      ... The only drivers I can take a look at, ... sio and uart ... (console and log server for my home network) ...
      (freebsd-arch)
    • Re: [PATCH 5/7] PPS: serial clients support.
      ... uart_handle_dcd_change when the state of the CD changes, and all the PPS ... uart_ is only used by some drivers. ... We have a whole army of drivers using ... the tty layer directly and another army of drivers using the USB layer. ...
      (Linux-Kernel)
    • [BUG] 2.6.25 RTC-I2C related trace
      ... Movable zone start PFN for each node ... ACPI: ... hub 1-0:1.0: 2 ports detected ... # Input Device Drivers ...
      (Linux-Kernel)
    • Re: How to Upgrade USB 1.1 port to USB 2.0 port
      ... Be sure that USB 2.0 is turned ON in the BIOS... ... unused ports - inserting ... USB2.0 drivers. ... |>> download them from Microsoft and install them. ...
      (microsoft.public.windowsxp.basics)
    • Re: Sub enclosures questions
      ... An installer here says the drivers and ports should go on the ... I concur with your installer. ... sound like dog meat. ...
      (rec.audio.car)