lkml.org 
[lkml]   [2004]   [Feb]   [4]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 4 Feb 2004 14:08:58 -0800 (PST)
FromLinus Torvalds <>
SubjectRe: [PATCH] PCI / OF linkage in sysfs

On Wed, 4 Feb 2004, Benjamin Herrenschmidt wrote:
> 
> This patch adds a "devspec" property to all PCI entries in sysfs
> that provides the full "Open Firmware" path to each device on
> PPC and PPC64 platforms that have Open Firmware support.

Wouldn't it make more sense to go the other way? Ie have the PCI devices 
be pointed to from the OF paths?

I'd prefer to avoid having OF-specific files in a PCI directory. That just 
leads to inherently unportable user mode stuff. In contrast, having the OF 
directory entry that points to the hardware (PCI) entry makes perfect 
sense.

umm?

		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: 2005-03-22 13:00    [from the cache]
©2003-2008