From owner-freebsd-mips@FreeBSD.ORG Sat Sep 17 16:52:05 2011 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C96B106564A; Sat, 17 Sep 2011 16:52:05 +0000 (UTC) (envelope-from bpurgar@gmail.com) Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) by mx1.freebsd.org (Postfix) with ESMTP id E78A68FC12; Sat, 17 Sep 2011 16:52:04 +0000 (UTC) Received: by pzk33 with SMTP id 33so8802501pzk.4 for ; Sat, 17 Sep 2011 09:52:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JLEXi93fOzfiO/ZLutCPPklJn+/lz/r9u0y8MWlTStA=; b=ki1IGiTCYGtcnd7TOl9cIvJA7mGs/h7MyzWfqle2jR9F4ONbnbsE41sUzDGJgPzjyt aqF40wt+l1QTRDALX9b5ZyfOcvkcERZcmZe+cI3etbEKazj6XBSj63X++JZBsnj85tju XsX7edNajVpVnz0Qu/DXBpJjN5cQftaugAefY= MIME-Version: 1.0 Received: by 10.68.34.169 with SMTP id a9mr1130258pbj.134.1316278324257; Sat, 17 Sep 2011 09:52:04 -0700 (PDT) Received: by 10.142.143.15 with HTTP; Sat, 17 Sep 2011 09:52:03 -0700 (PDT) In-Reply-To: References: <201109170831.58398.milu@dat.pl> <49F9E5C3-D4BF-4273-85BF-30B51A0A75AD@gmail.com> Date: Sat, 17 Sep 2011 18:52:03 +0200 Message-ID: From: Berislav Purgar To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-mips@freebsd.org Subject: Re: ubnt routerstation and lan ports ?? 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: Sat, 17 Sep 2011 16:52:05 -0000 On Sat, Sep 17, 2011 at 6:02 PM, Adrian Chadd wrote: > Which file are you editing? > > hints don't "override" if they're included the way my kernel config is > setup. > > Ie, UBNT_AR71XX_BASE.hints doesn't have any phymask/speed/duplex hints. > The ROUTERSTATION config includes UBNT_AR71XX_BASE and > UBNT_AR71XX_BASE.hints; the phymask/speed/duplex settings are in > ROUTERSTATION.hints. > Don't edit UBNT_AR71XX_BASE.hints. :) > > > Adrian > I edit only ROUTERSTATION.hint and there i make changes for phymask .. example if hint.arge.1.phymask=0x10000 pci0: at device 0.0 (no driver attached) arge0: at mem 0x19000000-0x19000ff0 miibus0: on arge0 ukphy0: PHY 20 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto arge0: Ethernet address: 00:15:6d:c4:20:f6 arge1: at mem 0x1a000000-0x1a000ff0 miibus1: on arge1 ukphy1: PHY 16 on miibus1 ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto arge1: Ethernet address: 00:15:6d:c4:20:f7 spi0: at mem 0x1f000000-0x1f00000f on nexus0 spibus0: on spi0 mx25l0: at cs 0 on spibus0 mx25l0: mx25ll128, sector 65536 bytes, 256 sectors ar71xx_wdog0: on nexus0 bsd-rs@~# ifconfig arge1 arge1: flags=8802 metric 0 mtu 1500 options=80000 ether 00:15:6d:c4:20:f7 media: Ethernet autoselect (none) status: no carrier bsd-rs@~# -------------------------------- hint.arge.1.phymask=0x30000 pcib0 at irq 0 on nexus0 pci0: on pcib0 pci0: at device 0.0 (no driver attached) arge0: at mem 0x19000000-0x19000ff0 miibus0: on arge0 ukphy0: PHY 20 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto arge0: Ethernet address: 00:15:6d:c4:20:f6 arge1: at mem 0x1a000000-0x1a000ff0 arge1: Ethernet address: 00:15:6d:c4:20:f7 spi0: at mem 0x1f000000-0x1f00000f on nexus0 spibus0: on spi0 bsd-rs@~# ifconfig arge1 arge1: flags=8802 metric 0 mtu 1500 ether 00:15:6d:c4:20:f7 media: Ethernet 100baseTX status: active bsd-rs@~# Beri