From owner-freebsd-mips@FreeBSD.ORG Sat Sep 17 15:20:52 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 B8769106564A for ; Sat, 17 Sep 2011 15:20:52 +0000 (UTC) (envelope-from bpurgar@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7FE2E8FC16 for ; Sat, 17 Sep 2011 15:20:52 +0000 (UTC) Received: by iadk27 with SMTP id k27so5510650iad.13 for ; Sat, 17 Sep 2011 08:20:52 -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=xQXkOuW7rSXrQ6SpG7e0s8eukoeQgxqhTSn9r9OLHKA=; b=SERNobr8jqNgZA+48NRmKOGG4jqevwdxIGAJUGGfNiqYXkvF163ZdmcaIuT9lrCjAC SDpEQ75bL32c5khYK2VDrSws9qYiMPcClia+9oecapdeabpqFfEgWgv3vMh18gUbMyt7 RBzZDcwhVcmKcSPUOxCM2zye0nMJ9RTFYJE9E= MIME-Version: 1.0 Received: by 10.68.34.169 with SMTP id a9mr1031335pbj.134.1316272851732; Sat, 17 Sep 2011 08:20:51 -0700 (PDT) Received: by 10.142.143.15 with HTTP; Sat, 17 Sep 2011 08:20:51 -0700 (PDT) In-Reply-To: <49F9E5C3-D4BF-4273-85BF-30B51A0A75AD@gmail.com> References: <201109170831.58398.milu@dat.pl> <49F9E5C3-D4BF-4273-85BF-30B51A0A75AD@gmail.com> Date: Sat, 17 Sep 2011 17:20:51 +0200 Message-ID: From: Berislav Purgar To: Luiz Otavio O Souza Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable 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 15:20:52 -0000 2011/9/17 Luiz Otavio O Souza > On Sep 17, 2011, at 4:37 AM, Berislav Purgar wrote: > > 2011/9/17 Maciej Milewski > > > >> Hi, > >> > >> On pi=B1tek, 16 wrze=B6nia 2011 23:31:05 Berislav Purgar wrote: > >>> i have tried hint.arge.1.phymask=3D0x70000 / 0x30000 / 70000 and not= hing > >> of > >>> that can make it to work .. :( > >>> tried openwrt to check ports and everything is OK. > >>> > >>> Beri > >> I have this settings in my hints file and arge1 works: > >> > >> hint.arge.1.at=3D"nexus0" > >> hint.arge.1.maddr=3D0x1a000000 > >> hint.arge.1.msize=3D0x1000 > >> hint.arge.1.irq=3D3 > >> # PHY1, PHY2, PHY3 > >> hint.arge.1.phymask=3D0x0e > >> # should be 100 for RS > >> hint.arge.1.media=3D100 > >> hint.arge.1.fduplex=3D1 > >> > >> Kind regards, > >> Maciek > >> > > > > Hi > > > > tried 0x0e (but i think that 0x0e is for RSPRO) and same thing .. > > The only thing I noticed is that arge1 is always active regardless of t= he > > cable was plugged or not. > > > Yes, 0x0e is only valid for rspro. My routerstation worked fine with: > > # PHY20 =3D 1 << 20 > hint.arge.0.phymask=3D0x100000 > > # PHY16, PHY17 > hint.arge.1.phymask=3D0x30000 > > (plus all the other lines from Maciej example.) > > > Regards, > Luiz Hi I tried all combinations and simply does not work. PHY16 =3D 0x10000 LAN1 PHY17 =3D 0x20000 LAN2 PHY18 =3D 0x40000 (LAN3 - not used) PHY19 =3D 0x80000 (LAN4 - not used) PHY20 =3D 0x100000 WAN - is't OK and work I simply have no idea what to do more: (