From nobody@FreeBSD.org  Wed Aug 22 12:19:48 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 548051065673
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 22 Aug 2012 12:19:48 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 3F3728FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 22 Aug 2012 12:19:48 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q7MCJmcU093876
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 22 Aug 2012 12:19:48 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q7MCJmoi093874;
	Wed, 22 Aug 2012 12:19:48 GMT
	(envelope-from nobody)
Message-Id: <201208221219.q7MCJmoi093874@red.freebsd.org>
Date: Wed, 22 Aug 2012 12:19:48 GMT
From: Luiz Otavio O Souza <loos.br@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] Move MIPS specific options from generic conf/options file
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         170859
>Category:       kern
>Synopsis:       [patch] [mips] Move MIPS specific options from generic conf/options file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-mips
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 22 12:20:05 UTC 2012
>Closed-Date:    Sun Aug 26 20:29:00 UTC 2012
>Last-Modified:  Sun Aug 26 20:30:01 UTC 2012
>Originator:     Luiz Otavio O Souza
>Release:        -current
>Organization:
>Environment:
FreeBSD rb450g 10.0-CURRENT FreeBSD 10.0-CURRENT #20 r238655:239327M: Thu Aug 16 20:09:08 BRT 2012     root@server01:/data/rb/rb450g/obj/mips.mips/data/rb/rb450g/src/sys/RB4XX  mips
>Description:
Some MIPS options (AR71XX_*) were included in the generic conf/options.

The above patch moves that options to conf/options.mips (specific to MIPS platform).
>How-To-Repeat:

>Fix:
The proposed patch is also available at: http://loos.no-ip.org/rb/options.mips.patch

Patch attached with submission follows:

Index: conf/options
===================================================================
--- conf/options	(revision 238655)
+++ conf/options	(working copy)
@@ -906,11 +906,3 @@
 
 # Resource Limits
 RCTL		opt_global.h
-
-# At least one of the AR71XX ubiquiti boards has a Redboot configuration
-# that "lies" about the amount of RAM it has. Until a cleaner method is
-# defined, this option will suffice in overriding what Redboot says.
-AR71XX_REALMEM		opt_ar71xx.h
-AR71XX_ENV_UBOOT	opt_ar71xx.h
-AR71XX_ENV_REDBOOT	opt_ar71xx.h
-AR71XX_ATH_EEPROM	opt_ar71xx.h
Index: conf/options.mips
===================================================================
--- conf/options.mips	(revision 238655)
+++ conf/options.mips	(working copy)
@@ -75,3 +75,10 @@
 IF_RT_PHY_SUPPORT		opt_if_rt.h
 IF_RT_RING_DATA_COUNT		opt_if_rt.h
 
+# At least one of the AR71XX ubiquiti boards has a Redboot configuration
+# that "lies" about the amount of RAM it has. Until a cleaner method is
+# defined, this option will suffice in overriding what Redboot says.
+AR71XX_REALMEM		opt_ar71xx.h
+AR71XX_ENV_UBOOT	opt_ar71xx.h
+AR71XX_ENV_REDBOOT	opt_ar71xx.h
+AR71XX_ATH_EEPROM	opt_ar71xx.h


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-mips 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Aug 22 17:39:18 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170859 

From: Luiz Otavio O Souza <loos.br@gmail.com>
To: bug-followup@FreeBSD.org,
 Luiz Otavio O Souza <loos.br@gmail.com>
Cc:  
Subject: Re: kern/170859: [patch] [mips] Move MIPS specific options from generic conf/options file
Date: Sat, 25 Aug 2012 07:02:42 -0300

 There is a new patch available at: =
 http://loos.no-ip.org/rb/options.mips.patch
 
 This one apply clean on -current.
 
 Thanks.=
State-Changed-From-To: open->closed 
State-Changed-By: ray 
State-Changed-When: Sun Aug 26 20:27:13 UTC 2012 
State-Changed-Why:  
Fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170859 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/170859: commit references a PR
Date: Sun, 26 Aug 2012 20:22:55 +0000 (UTC)

 Author: ray
 Date: Sun Aug 26 20:22:43 2012
 New Revision: 239716
 URL: http://svn.freebsd.org/changeset/base/239716
 
 Log:
   Move AR71XX (MIPS SoCs family) options to options.mips file.
   
   PR:		170859
   Submitted by:	Luiz Otavio O Souza
   Approved by:	adrian (mentor)
 
 Modified:
   head/sys/conf/options
   head/sys/conf/options.mips
 
 Modified: head/sys/conf/options
 ==============================================================================
 --- head/sys/conf/options	Sun Aug 26 14:30:14 2012	(r239715)
 +++ head/sys/conf/options	Sun Aug 26 20:22:43 2012	(r239716)
 @@ -906,11 +906,3 @@ RACCT		opt_global.h
  
  # Resource Limits
  RCTL		opt_global.h
 -
 -# At least one of the AR71XX ubiquiti boards has a Redboot configuration
 -# that "lies" about the amount of RAM it has. Until a cleaner method is
 -# defined, this option will suffice in overriding what Redboot says.
 -AR71XX_REALMEM		opt_ar71xx.h
 -AR71XX_ENV_UBOOT	opt_ar71xx.h
 -AR71XX_ENV_REDBOOT	opt_ar71xx.h
 -AR71XX_ATH_EEPROM	opt_ar71xx.h
 
 Modified: head/sys/conf/options.mips
 ==============================================================================
 --- head/sys/conf/options.mips	Sun Aug 26 14:30:14 2012	(r239715)
 +++ head/sys/conf/options.mips	Sun Aug 26 20:22:43 2012	(r239716)
 @@ -74,6 +74,16 @@ ARGE_DEBUG			opt_arge.h
  ARGE_MDIO			opt_arge.h
  
  #
 +# At least one of the AR71XX ubiquiti boards has a Redboot configuration
 +# that "lies" about the amount of RAM it has. Until a cleaner method is
 +# defined, this option will suffice in overriding what Redboot says.
 +#
 +AR71XX_REALMEM			opt_ar71xx.h
 +AR71XX_ENV_UBOOT		opt_ar71xx.h
 +AR71XX_ENV_REDBOOT		opt_ar71xx.h
 +AR71XX_ATH_EEPROM		opt_ar71xx.h
 +
 +#
  # Options that control the Ralink RT305xF Etherenet MAC.
  #
  IF_RT_DEBUG			opt_if_rt.h
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
