[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130116164238.625db60c@bob.linux.org.uk>
Date: Wed, 16 Jan 2013 16:42:38 +0000
From: Alan Cox <alan@...ux.intel.com>
To: Jiri Slaby <jslaby@...e.cz>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Greg KH <gregkh@...uxfoundation.org>, jirislaby@...il.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 00/10] TTY: switch flipping functions to tty_port
On Wed, 16 Jan 2013 16:59:58 +0100
Jiri Slaby <jslaby@...e.cz> wrote:
> On 01/16/2013 04:44 PM, Steven Rostedt wrote:
> > On Wed, 2013-01-16 at 14:37 +0100, Jiri Slaby wrote:
> >> Steven, do you have any plans with the driver? What is its planned
> >> destiny?
> >
> > Well, I'm currently using the device in my main machine. As it is my
> > main box, I don't update the kernel as often.
> >
> > Let me know what I need to do to fix it in the current kernel.
>
> Every port in the system has to have its struct tty_port counterpart.
>
> /me looked into the code
>
> OMG. It contains a true copy of serial_core!
And it seems to just be another 165x0 driver anyway In fact it looks
like the right thing to do is to take it out and shoot it. We've got a
16x50 driver already.
There are a few bits of gunk in there to set custom board registers and
to figure out the configuration. See drivers/tty/serial/8250/8250_pci.c
and it ought to be possible to just plug it in there. The 422 stuff
might need a bit more tweaking.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists