Author: jmallett
Date: Sat Mar 10 07:54:41 2012
New Revision: 232773
URL: http://svn.freebsd.org/changeset/base/232773

Log:
  Use ABI to determine bus_addr_t for cnMIPS.

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

Modified: head/sys/mips/include/_bus.h
==============================================================================
--- head/sys/mips/include/_bus.h        Sat Mar 10 07:09:05 2012        
(r232772)
+++ head/sys/mips/include/_bus.h        Sat Mar 10 07:54:41 2012        
(r232773)
@@ -35,7 +35,7 @@
  * Bus address and size types
  */
 #include "opt_cputype.h" 
-#if !(defined(CPU_CNMIPS) && defined(ISA_MIPS32))
+#if defined(CPU_CNMIPS) && !defined(__mips_n64)
 typedef uintptr_t bus_addr_t;
 #else
 typedef uint64_t bus_addr_t;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to