Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | raw e-mail

[-- Attachment #1 --]

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

[-- Attachment #2 --]
? 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
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47992B9F.1050802>