svn commit: r199753 - projects/mips/sys/mips/mips

Warner Losh imp at FreeBSD.org
Tue Nov 24 16:30:29 UTC 2009


Author: imp
Date: Tue Nov 24 16:30:29 2009
New Revision: 199753
URL: http://svn.freebsd.org/changeset/base/199753

Log:
  Remove a comment that's bogus.
  Include opt_cputype.h since TARGET_OCTEON moved there.

Modified:
  projects/mips/sys/mips/mips/mainbus.c

Modified: projects/mips/sys/mips/mips/mainbus.c
==============================================================================
--- projects/mips/sys/mips/mips/mainbus.c	Tue Nov 24 16:29:23 2009	(r199752)
+++ projects/mips/sys/mips/mips/mainbus.c	Tue Nov 24 16:30:29 2009	(r199753)
@@ -44,6 +44,8 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
+#include "opt_cputype.h"
+
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/bus.h>
@@ -265,7 +267,6 @@ mainbus_activate_resource(device_t bus, 
 			    + poffs;
 		}
 		rman_set_virtual(r, vaddr);
-		/* IBM-PC: the type of bus_space_handle_t is u_int */
 #ifdef TARGET_OCTEON
 		temp = 0x0000000000000000;
 		temp |= (uint32_t)vaddr;


More information about the svn-src-projects mailing list