Re: [PATCH 2.6.8.1] drivers/char: New serial driver.

From: Russell King (rmk+lkml_at_arm.linux.org.uk)
Date: 09/27/04

  • Next message: Paul Fulghum: "Re: 2.6.9-rc2-mm4"
    Date:	Mon, 27 Sep 2004 21:31:12 +0100
    To: "Kilau, Scott" <Scott_Kilau@digi.com>
    
    

    On Mon, Sep 27, 2004 at 03:03:32PM -0500, Kilau, Scott wrote:
    > I am submitting a new serial driver for the 2.6 series of kernels.
    >
    > Description:
    > Digi serial driver for the Digi Neo and Classic PCI serial port
    > products.
    >
    > IBM has requested this submission into the Linux kernel.
    >
    > The patch is quite large (300K uncompressed), so rather than attach it
    > I am submitting a link to our ftp site where the patch is located.
    >
    > ftp://ftp1.digi.com/pub/patches/dgnc.patch

    A few comments:

    (1) I'm disappointed that you aren't using the serial_core support
        in drivers/serial.
    (2) I'm also concerned that you're using serial_reg.h as a description
        of an interface between your hardware specific drivers and your
        hardware independent tty core. It isn't a description of such an
        interface and therefore should not be used as such. Please fix
        your code in respect to this.
    (3) loopback mode is normally enabled by setting TIOCM_LOOP modem
        control bit via the TIOCMBIS ioctl.

    I'd also like Alan Cox to look over the driver since he's looking at
    the tty layer. Alan may have further comments since I've only briefly
    looked through it.

    -- 
    Russell King
     Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
     maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                     2.6 Serial core
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Paul Fulghum: "Re: 2.6.9-rc2-mm4"

    Relevant Pages

    • RE: wince serial driver
      ... My problem was my app was not picking up all the parity error ... events that the serial driver was raising. ... > Operating System: Windows CE 3.0 ...
      (microsoft.public.windowsce.platbuilder)
    • Re: Personnal line discipline difficulties
      ... >> driver from Windows to Linux, and the Windows serial driver gives ... I'm sure there's no way to find that size but through the serial port ... I've already tried to totally replace the serial driver (by using inb and outb ...
      (Linux-Kernel)
    • Re: Cant open the serial ports.
      ... Yes.Just look out for the debug messages on the debug window on PB and hunt ... for Serial Driver messages.By the way you will have to enable all the debug ... >>> Remote Registry Editor. ...
      (microsoft.public.windowsce.embedded)
    • Re: Problem with tcgetattr
      ... You are intercepting the ioctl or else replacing the ... These are the methods of the driver object. ... it looks like the serial driver to me. ... * is not handled by the tty layer or the low-level tty driver. ...
      (comp.os.linux.development.system)
    • Re: [PATCH 2.6.8.1] drivers/char: New serial driver.
      ... > I am submitting a new serial driver for the 2.6 series of kernels. ... > Digi serial driver for the Digi Neo and Classic PCI serial port ...
      (Linux-Kernel)