Request for review: AR71XX config cleanup

Luiz Otavio O Souza lists.br at gmail.com
Mon Mar 15 12:26:42 UTC 2010


On Mar 15, 2010, at 6:17 AM, Alex RAY wrote:

> On Sun, 14 Mar 2010 18:19:02 -0600 (MDT)
> "M. Warner Losh" <imp at bsdimp.com> wrote:
> 
>> 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
>> _______________________________________________
>> freebsd-mips at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-mips
>> To unsubscribe, send any mail to "freebsd-mips-unsubscribe at freebsd.org"
> 
> 
> Hi Warner,
> 
> Maybe umass and SCSI modules relocate from the std files to config files?

There are a few models that don't have USB or PCI at all, so it would be cool if we can keep std.ar71xx with basic devices only.

Please consider the following patch (full files, not really a patch):

http://loos.no-ip.org:280/ar71xx.config

Thanks,
Luiz


More information about the freebsd-mips mailing list