Re: [PATCH] tty: serial: serial-omap: depend on !8250_omap
From: Felipe Balbi
Date: Mon Dec 01 2014 - 20:52:17 EST
On Tue, Dec 02, 2014 at 01:13:38AM +0200, Aaro Koskinen wrote:
> Hi,
>
> On Mon, Dec 01, 2014 at 02:09:14PM +0000, One Thousand Gnomes wrote:
> > > Well the nightmare userspace switch from ttyS to ttyO few years ago is
> > > something we want to avoid.. I think the best solution would be to make
> > > serial-omap.c transparently provide support for ttyO using the new 8250
> > > code so both ttyS and ttyO devices would just work. Otherwise it will
> > > be years of "my serial port stopped working" questions again.
> >
> > Thata a udev problem not a kernel one surely.
>
> People also use serial console to observe the early kernel boot before
> the userspace is started.
right, we need a way to tell the kernel that ttyO%d and ttyS%d are the
exact same device so that console=ttyO0 and console=ttyS0 mean the same
thing. That maintains backwards compatibility and lets people move on
--
balbi
Attachment:
signature.asc
Description: Digital signature