Date: Thu, 24 Jan 2008 16:21:51 -0800 From: Daniel Stekloff <dsteklof@cisco.com> To: powerpc@freebsd.org Subject: [PATCH] Add openfirmio and ofwdump to powerpc build Message-ID: <47992B9F.1050802@cisco.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------020107010108070900060604 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, This patch adds openfirmio device to powerpc target as well as ofwdump. They can be used to dump the OF device tree. If this looks useful, please commit. All comments are welcome. Thanks, Dan --------------020107010108070900060604 Content-Type: text/x-patch; name="add_openfirmio_powerpc.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="add_openfirmio_powerpc.patch" ? test.patch Index: sys/conf/files.powerpc =================================================================== RCS file: /home/ncvs/src/sys/conf/files.powerpc,v retrieving revision 1.71 diff -u -p -r1.71 files.powerpc --- sys/conf/files.powerpc 19 Dec 2007 18:00:48 -0000 1.71 +++ sys/conf/files.powerpc 24 Jan 2008 22:13:10 -0000 @@ -31,6 +31,7 @@ dev/fb/fb.c optional sc dev/hwpmc/hwpmc_powerpc.c optional hwpmc dev/kbd/kbd.c optional sc dev/ofw/openfirm.c optional aim +dev/ofw/openfirmio.c optional aim dev/ofw/ofw_bus_if.m optional aim dev/ofw/ofw_bus_subr.c optional aim dev/ofw/ofw_console.c optional aim Index: usr.sbin/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/Makefile,v retrieving revision 1.380 diff -u -p -r1.380 Makefile --- usr.sbin/Makefile 5 Dec 2007 17:54:59 -0000 1.380 +++ usr.sbin/Makefile 24 Jan 2008 22:13:35 -0000 @@ -366,6 +366,7 @@ _zzz= zzz .if ${MACHINE_ARCH} == "powerpc" _mount_smbfs= mount_smbfs _nvram= nvram +_ofwdump= ofwdump .endif .if ${MACHINE_ARCH} == "sparc64" Index: usr.sbin/ofwdump/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/ofwdump/Makefile,v retrieving revision 1.4 diff -u -p -r1.4 Makefile --- usr.sbin/ofwdump/Makefile 22 May 2004 16:51:11 -0000 1.4 +++ usr.sbin/ofwdump/Makefile 24 Jan 2008 22:13:38 -0000 @@ -2,7 +2,6 @@ PROG= ofwdump MAN= ofwdump.8 -MANSUBDIR= /sparc64 SRCS= ofwdump.c ofw_util.c WARNS?= 6 --------------020107010108070900060604--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47992B9F.1050802>