From owner-freebsd-mips@freebsd.org Mon Oct 26 17:50:13 2015 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EDCE181E5 for ; Mon, 26 Oct 2015 17:50:13 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BBABA1FCB for ; Mon, 26 Oct 2015 17:50:13 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igbdj2 with SMTP id dj2so61644106igb.1 for ; Mon, 26 Oct 2015 10:50:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vghIM8uAUZ/b2NGa5R6p4ICGv1MChz5cK0OtDevGuFk=; b=g04JQNBtcdcModBjze4fTFcmextkI3ZlEoLcpFkaTKaDqi6HBbwrxRQuvGgqyRWy3v 7vMN/QDzBpZRLLgf3MvFLZb+gnWqqjSKf1jWd+EW4DkZEjrOqvONcB0GMazei6gDgx7m v2NyoJeoPEy2o8lKJF3eNdFBdVUNDSnU8zQ5Ph5J7Q8rPDG6F0FEsNpYh0iiSC8k9ltG GXhGgeIDM3lkyFzfUPLFX/E0wn5eNjpkfpif1VKT6OuuelLussbKJDWz/lC7pjLweSZN 82e3EGWeYXRICvGSf6LvzXceMjhAVpz4I/qepP+CGIrC311wSwgp9YX3xuh2sOSm/Tu6 b0ew== MIME-Version: 1.0 X-Received: by 10.50.178.141 with SMTP id cy13mr19100404igc.61.1445881813155; Mon, 26 Oct 2015 10:50:13 -0700 (PDT) Received: by 10.36.46.66 with HTTP; Mon, 26 Oct 2015 10:50:13 -0700 (PDT) In-Reply-To: <562E3027.4020806@grosbein.net> References: <562CBEC3.8030308@rdtc.ru> <562E3027.4020806@grosbein.net> Date: Mon, 26 Oct 2015 10:50:13 -0700 Message-ID: Subject: Re: arge1 on TL WDR3600 From: Adrian Chadd To: Eugene Grosbein Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2015 17:50:14 -0000 It's one of those unclear things - there's no port0 MII/PHY. port1 == phy0, port2 == phy1, etc. -a On 26 October 2015 at 06:52, Eugene Grosbein wrote: > On 26.10.2015 00:39, Adrian Chadd wrote: >> Hi, >> >> I'll try to answer more thoroughly tomorrow, but in the meanwhile: > > [skip] > > Thank you very much for explanation. > > Another thing: when I insert cable into "WAN" port, kernel writes to console: > > arswitch0: arswitch_miipollstat: port 0: port -> UP > > But then, etherswitchcfg command shows "status: active" for port 1 > having no flags and port 0 is CPUPORT: > > etherswitch0: VLAN mode: DOT1Q > port0: > pvid: 1 > flags=1 > media: Ethernet 1000baseT > status: active > port1: > pvid: 1 > flags=0<> > media: Ethernet autoselect (1000baseT ) > status: active > > Isn't it off-by-one error in the arswitch diagnostics output? >