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, 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: 2009-11-18 23:46    [W:0.111 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site