From owner-freebsd-mips@FreeBSD.ORG Mon Mar 15 00:23:44 2010 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8644106564A for ; Mon, 15 Mar 2010 00:23:44 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 9EBE78FC0A for ; Mon, 15 Mar 2010 00:23:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o2F0IpdD099269 for ; Sun, 14 Mar 2010 18:18:51 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 14 Mar 2010 18:19:02 -0600 (MDT) Message-Id: <20100314.181902.67053632336017068.imp@bsdimp.com> To: mips@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Request for review: AR71XX config cleanup X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2010 00:23:45 -0000 Greetings, I've done a quick stab at cleaning up the AR71XX config file. The problem with it is that isn't for the AR71XX, but really for the RouterStation Pro for Ubiquiti. Every time I build my normal ROUTER-STATION board, I forget to put the hints back and it won't boot. So, I've created a std.ar71xx. This is the standard config file for all ar71xx boards. You can then specialize it to reflect the population of your specific board. I've also separated the hints that are relevant to the Atheros SoC from those that are relevant only to a specific board. There's a std.ar71xx.hints. The patches for this are at http://people.freebsd.org/~imp/ar71xx-config.diff to illustrate all the details. In general, I think this looks like a good design pattern for phasing out DEFAULTS on the other architectures as well. But before I expand it to them, I'd like to get the mipsy world hammered out. Comments? Warner