lkml.org 
[lkml]   [2011]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] tty/serial: add support for Xilinx PS UART
On Tue, Apr 19, 2011 at 04:22:00PM -0600, John Linn wrote:
> > -----Original Message-----
> > From: Alan Cox [mailto:alan@lxorguk.ukuu.org.uk]
> > Sent: Tuesday, April 19, 2011 3:16 PM
> > To: John Linn
> > Cc: linux-kernel@vger.kernel.org; linux-serial@vger.kernel.org
> > Subject: Re: [PATCH] tty/serial: add support for Xilinx PS UART
> >
> > On Tue, 19 Apr 2011 14:14:52 -0600
> > John Linn <john.linn@xilinx.com> wrote:
> >
> > > The Xilinx PS Uart is used on the new ARM based SoC. This
> > > UART is not compatible with others such that a seperate
> > > driver is required.
> >
> > Joyous. I wish people would standardise.
> >
> > > + 213 = /dev/ttyPS0 Xilinx PS serial port 0
> > > + 214 = /dev/ttyPS1 Xilinx PS serial port 1
> > > + 215 = /dev/ttyPS2 Xilinx PS serial port 2
> > > + 216 = /dev/ttyPS3 Xilinx PS serial port 3
> >
> > Is there a specific reason you need fixed minor numbers ? If not
> please
> > use a dynamic range and keep Linus happy.
>
> Hi Alan,
>
> I hope you don't mind me asking a bit more to better understand. Here's
> my
> concerns (maybe not valid).
>
> It seems like since this is a console it can get hard to debug with
> dynamic
> nodes for this driver.
>
> This driver is for an embedded device where we don't want to require
> udev
> or mdev to assign nodes.

Why not use devtmpfs? There's no need to use udev or mdev at all.

thanks,

greg k-h


\
 
 \ /
  Last update: 2011-04-20 01:25    [W:0.373 / U:0.116 seconds]
©2003-2014 Jasper Spaans. Advertise on this site