[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101124182353.GA10589@suse.de>
Date: Wed, 24 Nov 2010 10:23:53 -0800
From: Greg KH <gregkh@...e.de>
To: Scott Wood <scottwood@...escale.com>
Cc: michael@...erman.id.au, Timur Tabi <timur@...escale.com>,
Arnd Bergmann <arnd@...db.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Stuart Yoder <stuart.yoder@...escale.com>,
devicetree-discuss@...r.kernel.org
Subject: Re: How do I choose an arbitrary minor number for my tty device?
On Wed, Nov 24, 2010 at 12:08:18PM -0600, Scott Wood wrote:
> On Wed, 24 Nov 2010 21:23:47 +1100
> Michael Ellerman <michael@...erman.id.au> wrote:
>
> > On Thu, 2010-11-18 at 12:13 -0600, Scott Wood wrote:
> > > Unfortunately, it's not an exact match, and the fact that reg doesn't
> > > translate to a physical address means that AFAICT you'll currently get
> > > something like "byte-channel.nnn", where "nnn" is an arbitrary
> > > kernel-assigned number.
> >
> > Can you not use device_rename() ?
>
> Ah, didn't know about that. Still, might be nice to add support for
> "handle" nodes at the infrastructure level rather than in each driver.
No, please never use that function, bad things will happen.
thanks,
greg k-h
--
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