Date: Sun, 31 Jan 2010 10:17:21 GMT From: Rafal Jaworowski <raj@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 173998 for review Message-ID: <201001311017.o0VAHL0A032731@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=173998 Change 173998 by raj@raj_fdt on 2010/01/31 10:17:04 Provide a fallback method of finding the MPP node if no entry in /aliases. Affected files ... .. //depot/projects/fdt/sys/arm/mv/mv_machdep.c#5 edit Differences ... ==== //depot/projects/fdt/sys/arm/mv/mv_machdep.c#5 (text+ko) ==== @@ -693,8 +693,15 @@ /* * Find the node the long way. - * TODO */ + if ((node = OF_finddevice("/")) == 0) + return (ENXIO); + + if ((node = fdt_find_compatible(node, "simple-bus")) == 0) + return (ENXIO); + + if ((node = fdt_find_compatible(node, "mrvl,mpp")) == 0) + return (ENXIO); moveon: /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001311017.o0VAHL0A032731>