svn commit: r213048 - head/sys/sys

Jayachandran C. jchandra at FreeBSD.org
Thu Sep 23 05:24:50 UTC 2010


Author: jchandra
Date: Thu Sep 23 05:24:50 2010
New Revision: 213048
URL: http://svn.freebsd.org/changeset/base/213048

Log:
  Add MIPS platform, this will make bsdlabel(8) work on MIPS (when invoked
  without a -m option. -m mips is still not supported)

Modified:
  head/sys/sys/disklabel.h

Modified: head/sys/sys/disklabel.h
==============================================================================
--- head/sys/sys/disklabel.h	Thu Sep 23 05:17:36 2010	(r213047)
+++ head/sys/sys/disklabel.h	Thu Sep 23 05:24:50 2010	(r213048)
@@ -52,7 +52,7 @@
 
 /* XXX these should be defined per controller (or drive) elsewhere, not here! */
 #if defined(__i386__) || defined(__amd64__) || defined(__arm__) || \
-    defined(__ia64__) || defined(__powerpc__)
+    defined(__ia64__) || defined(__powerpc__) || defined(__mips__)
 #define LABELSECTOR	1			/* sector containing label */
 #define LABELOFFSET	0			/* offset of label in sector */
 #endif


More information about the svn-src-all mailing list