Re: [PATCH] Open Firmware device tree virtual filesystem

2007-01-01 Thread David Kahn
David Miller wrote: We have some extensive code in fs/openpromfs/inode.c that determines whether a property is text or not. I can't guarentee it works %100, but it's very context dependant (only the driver "knows") but it works for all the cases I've tried. The problem with guessing, as

Re: [PATCH] Open Firmware device tree virtual filesystem

2007-01-01 Thread David Kahn
David Miller wrote: We have some extensive code in fs/openpromfs/inode.c that determines whether a property is text or not. I can't guarentee it works %100, but it's very context dependant (only the driver knows) but it works for all the cases I've tried. The problem with guessing, as

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread David Kahn
Folks, If we reused the current code in fs/proc/proc_devtree.c and re-wrote the underlying of_* routines for i386 only, (in the hope of removing the complexity not needed for this implementation) would that be an acceptable implementation? In other words, the of_* routines continue to define

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread David Kahn
David Miller wrote: From: David Kahn <[EMAIL PROTECTED]> Date: Sun, 31 Dec 2006 02:11:53 -0800 All we've done is created a trivial implementation for exporting the device tree to userland that isn't burdened by the powerpc and sparc legacy code that's in there now. So now we'll ha

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread David Kahn
Responding to two replies in one email ... Mitch Bradley wrote: David Miller wrote: ... Can we please not have N different interfaces to the open-firmware calls so that perhaps powerpc and Sparc have a chance of using this code too? David, I helped Mitch do this "port", so I'd like to

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread David Kahn
Responding to two replies in one email ... Mitch Bradley wrote: David Miller wrote: ... Can we please not have N different interfaces to the open-firmware calls so that perhaps powerpc and Sparc have a chance of using this code too? David, I helped Mitch do this port, so I'd like to

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread David Kahn
David Miller wrote: From: David Kahn [EMAIL PROTECTED] Date: Sun, 31 Dec 2006 02:11:53 -0800 All we've done is created a trivial implementation for exporting the device tree to userland that isn't burdened by the powerpc and sparc legacy code that's in there now. So now we'll have _3_

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread David Kahn
Folks, If we reused the current code in fs/proc/proc_devtree.c and re-wrote the underlying of_* routines for i386 only, (in the hope of removing the complexity not needed for this implementation) would that be an acceptable implementation? In other words, the of_* routines continue to define