From owner-freebsd-arm@FreeBSD.ORG Sun Oct 20 12:27:55 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9B93DFD9 for ; Sun, 20 Oct 2013 12:27:55 +0000 (UTC) (envelope-from bpurgar@gmail.com) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 28E7225FD for ; Sun, 20 Oct 2013 12:27:55 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id hn9so2812537wib.17 for ; Sun, 20 Oct 2013 05:27:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=9VjFU7spxXYgF23IRJtwydEkEnuuZ3M257MZIDbQNY4=; b=w1uxhKAYQzMx84o9HZJwmMNJ2Y2ZpxvX2hel7kd+EmewJ7X82nO9McIIuVtyIa+hg4 S68aOTQqiV3AXOk6c9Q8iSYW/AI4MN3ZDrj79H2d7XvB/e7RPHfcaeaK7Fc2i4aGLHQs Z2P73Uhl9xLOefuqlLpWcbAIpBQjRO04BDQyebRdtZyErnYev5XVLEsUDkl0RSWOc6lA 0wrIALdxe2ZBzFZEFidtdJMsbJvRv6bSwg8VIhhz36TosqIOt+FZJngeY9XrBZ5TKosd 5GQq/7a7U/6DUiayUKo/VL0Aj3lQK+3NDiDpW93wRyMArwm/FL+/wn5BY6qGci1TU/FN CF9Q== MIME-Version: 1.0 X-Received: by 10.194.175.133 with SMTP id ca5mr9487094wjc.19.1382272073359; Sun, 20 Oct 2013 05:27:53 -0700 (PDT) Received: by 10.216.254.67 with HTTP; Sun, 20 Oct 2013 05:27:53 -0700 (PDT) Date: Sun, 20 Oct 2013 14:27:53 +0200 Message-ID: Subject: AVILA npe problem ? From: Berislav Purgar To: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Oct 2013 12:27:55 -0000 Hello .. me again :) Is there a way to get right PHY for npe0 on GW2345-F board for switch to work? This board have switch (KS8995) with 4 LAN ports and one WAN port (npe0 npe1) .. I got PHY for WAN (npe1 PHY=5) from openwrt but on openwrt for npe0 PHY is 32 (freebsd support PHY to 31 ? ). If i put PHY=2 port 2 on switch is active but ports 1 3 4 no .. PHY=4 is for port 4 on switch but no 1 2 3, so is there way to get right PHY for all ports ?? Some examples: PHY=0 for npe0 (default AVILA.hints) ixpqmgr0: on ixp0 npe0: on ixp0 npe0: MAC at 0xc8009000 npe0: MII at 0xc8009000 npe0: load fw image IXP425.NPE-B Func 0x2 Rev 2.1 npe0: attaching PHYs failed npe0: cannot activate npe device_attach: npe0 attach returned 6 npe1: on ixp0 npe1: MAC at 0xc800a000 npe1: MII at 0xc8009000 npe1: load fw image IXP425.NPE-C Func 0x5 Rev 2.1 miibus0: on npe1 ukphy0: PHY 5 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto npe1: Ethernet address: 00:d0:12:13:59:23 and PHY=2 for npe0 (only port 2 is active on switch) uart1: on ixp0 ixpqmgr0: on ixp0 npe0: on ixp0 npe0: MAC at 0xc8009000 npe0: MII at 0xc8009000 npe0: load fw image IXP425.NPE-B Func 0x2 Rev 2.1 miibus0: on npe0 ukphy0: PHY 2 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto npe0: Ethernet address: 00:d0:12:03:59:23 npe1: on ixp0 npe1: MAC at 0xc800a000 npe1: MII at 0xc8009000 npe1: load fw image IXP425.NPE-C Func 0x5 Rev 2.1 miibus1: on npe1 ukphy1: PHY 5 on miibus1 ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto npe1: Ethernet address: 00:d0:12:13:59:23 Beri