Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2010 05:24:50 +0000 (UTC)
From:      "Jayachandran C." <jchandra@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r213048 - head/sys/sys
Message-ID:  <201009230524.o8N5Oo9R054999@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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