lkml.org 
[lkml]   [2010]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: How do I choose an arbitrary minor number for my tty device?
From
Date
On Wed, 2010-11-24 at 12:08 -0600, Scott Wood wrote:
> On Wed, 24 Nov 2010 21:23:47 +1100
> Michael Ellerman <michael@ellerman.id.au> wrote:

> > > It would be nice if platform devices that are created from device tree
> > > nodes included a link to the corresponding /proc/device-tree node in
> > > their sysfs node.
> >
> > It's not a link, but the OF path is in devspec, so you can work it out
> > fairly easily.
>
> Hmm, I see a "devspec" in PCI devices, but not in devtree-probed
> platform devices. of_bus_type_init isn't being called from anywhere
> but the ibmebus code. It looks like this was a casualty of merging
> of_platform with platform (commit eca3930163ba8884060ce9d9ff5ef0d9b7c7b00f).

Ah crud, yeah I was looking at an old kernel.

That seems like a regression, but seemingly no one has complained so
perhaps it doesn't matter in practice. It was certainly a nice feature
though.

cheers

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2010-11-24 23:49    [W:0.071 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site