aboutsummaryrefslogtreecommitdiff
path: root/sys/mips/rmi/iodi.c
diff options
context:
space:
mode:
authorJayachandran C. <jchandra@FreeBSD.org>2010-08-30 13:05:21 +0000
committerJayachandran C. <jchandra@FreeBSD.org>2010-08-30 13:05:21 +0000
commit61b993a34f8389409e2ce35b4d5cbb99cf0b607d (patch)
tree64cc5e23776409942a31b5e414bb18edb873baa9 /sys/mips/rmi/iodi.c
parent5a47f206a1ec63f3d4ad4c9c92109422a35ab7eb (diff)
downloadsrc-61b993a34f8389409e2ce35b4d5cbb99cf0b607d.tar.gz
src-61b993a34f8389409e2ce35b4d5cbb99cf0b607d.zip
Clean up header files in RMI platform code (sys/mips/rmi), and remove
unused files. - remove clock.c and clock.h, these are not used after the new timer code was added. - remove duplicated include files, fix header file ordering, remove some unneeded includes. - rename mips/rmi/shared_structs.h which contains the RMI boot loader interface to mips/rmi/rmi_boot_info.h. Remove unused files mips/rmi/shared_structs_func.h and sys/mips/rmi/shared_structs_offsets.h - merge mips/rmi/xlrconfig.h and mips/rmi/rmi_mips_exts.h, and remove duplicated functions. - nlge - minor change to remove unneeded argument. - Add FreeBSD svn keyword for headers
Notes
Notes: svn path=/head/; revision=211994
Diffstat (limited to 'sys/mips/rmi/iodi.c')
-rw-r--r--sys/mips/rmi/iodi.c20
1 files changed, 5 insertions, 15 deletions
diff --git a/sys/mips/rmi/iodi.c b/sys/mips/rmi/iodi.c
index be6856421ed6..d8cb081e24c7 100644
--- a/sys/mips/rmi/iodi.c
+++ b/sys/mips/rmi/iodi.c
@@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$");
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/reboot.h>
+#include <sys/rman.h>
#include <sys/types.h>
#include <sys/malloc.h>
#include <sys/bus.h>
@@ -48,28 +49,17 @@ __FBSDID("$FreeBSD$");
#include <machine/cpu.h>
#include <machine/bus.h>
-#include <machine/bus.h>
-#include <machine/intr_machdep.h>
-#include <mips/rmi/iomap.h>
-#include <mips/rmi/pic.h>
-#include <mips/rmi/shared_structs.h>
-#include <mips/rmi/board.h>
-#include <sys/rman.h>
-
-
#include <machine/param.h>
#include <machine/intr_machdep.h>
#include <machine/clock.h> /* for DELAY */
-#include <machine/bus.h>
#include <machine/resource.h>
+
+#include <mips/rmi/board.h>
+#include <mips/rmi/pic.h>
#include <mips/rmi/interrupt.h>
#include <mips/rmi/msgring.h>
#include <mips/rmi/iomap.h>
-#include <mips/rmi/debug.h>
-#include <mips/rmi/pic.h>
-#include <mips/rmi/xlrconfig.h>
-#include <mips/rmi/shared_structs.h>
-#include <mips/rmi/board.h>
+#include <mips/rmi/rmi_mips_exts.h>
#include <mips/rmi/dev/xlr/atx_cpld.h>
#include <mips/rmi/dev/xlr/xgmac_mdio.h>