lkml.org 
[lkml]   [2004]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] PCI / OF linkage in sysfs


On Wed, 4 Feb 2004, Greg KH wrote:
>
> Or, if you really want to be able to get the OF info from the pci device
> in sysfs, why not create a symlink in the pci device directory pointing
> to your OF path in sysfs? That would seem like the best option.

Where does this stop? Do we start doing the same for all different kinds
of buses, and all kinds of firmware?

In other words, instead of having <n> different buses all know about <m>
different kinds of firmware information that they really have nothing else
to do with, it's much better to just have the <m> different kinds of
firmware information export their own information.

It just sounds _wrong_ to have the PCI layer have knowledge of OF. It has
nothing to do with OF. For OF information, you should go to the /sys/of
tree, which has the information that OF knows about (which may, of course,
then include the information about PCI devices).

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-11-18 23:46    [W:1.605 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site