K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-02T12:13:02.691534Z K 7 svn:log V 642 Two more tweaks to FDT: - fdtbus should simply fail to attach, not panic, if there is no device tree. Note that, because of fdtbus(4), kernels containing option FDT will not boot on machines with Open Firmware. What should eventually happen is that the OF-related code in PPC nexus(4) should be removed in favor of also using fdtbus on OF platforms. - ofw_fdt returns the wrong values as error codes. 0 is in principle a valid phandle, and -1 should be returned to indicate an error condition. I have patched OF_finddevice() to return -1 on errors for now, but the FDT code should eventually be systematically checked for this. END