Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Dec 2015 19:09:13 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r292519 - head/sys/mips/include
Message-ID:  <201512201909.tBKJ9DVS038612@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sun Dec 20 19:09:12 2015
New Revision: 292519
URL: https://svnweb.freebsd.org/changeset/base/292519

Log:
  Tidy up mips ofw_machdep.h.  Don't include openfirm.h because openfirm.h
  is what includes machine/ofw_machdep.h.  Don't declare OF_decode_addr();
  it isn't implemented yet on mips and the declaration for it is about to
  be commonized into openfirm.h.

Modified:
  head/sys/mips/include/ofw_machdep.h

Modified: head/sys/mips/include/ofw_machdep.h
==============================================================================
--- head/sys/mips/include/ofw_machdep.h	Sun Dec 20 18:02:13 2015	(r292518)
+++ head/sys/mips/include/ofw_machdep.h	Sun Dec 20 19:09:12 2015	(r292519)
@@ -32,7 +32,6 @@
 #include <sys/types.h>
 #include <sys/rman.h>
 #include <sys/bus.h>
-#include <dev/ofw/openfirm.h>
 
 typedef	uint32_t	cell_t;
 struct mem_region {
@@ -40,8 +39,6 @@ struct mem_region {
 	vm_size_t	mr_size;
 };
 
-
-int  OF_decode_addr(phandle_t, int, bus_space_tag_t *, bus_space_handle_t *);
 void OF_getetheraddr(device_t dev, u_char *addr);
 void OF_initial_setup(void *fdt_ptr, void *junk, int (*openfirm)(void *));
 



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