From owner-freebsd-mips@FreeBSD.ORG Fri Mar 7 18:19:04 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9CBE9872 for ; Fri, 7 Mar 2014 18:19:04 +0000 (UTC) Received: from mail-qg0-x22e.google.com (mail-qg0-x22e.google.com [IPv6:2607:f8b0:400d:c04::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 598A1DAF for ; Fri, 7 Mar 2014 18:19:04 +0000 (UTC) Received: by mail-qg0-f46.google.com with SMTP id e89so12612473qgf.5 for ; Fri, 07 Mar 2014 10:19:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Y1U7Ordq9B7NWku6kgC999ibCLQJggkJZ+UdwrYZN6s=; b=TIN+U6KcHlP2bCBagZn5fhVdl6bp2iqcFfZZ7KH0BCzT/BLrKvQX7xRpga2pGkkSiG KX9A1vPZfuyry/o/mbqmFXJjLXxHZurWzVH4j1K3lHe1FHQjXa6PDw5WRl132L3Yas88 Y6u8XdwuskIcQRVtuXfZLOCAIzsR46cwJgPU2vt8i4ZvaHtXaAgSrCxJjzAckpq+jsuP zJ+gnEdjbzraaHUPhqhuHPlrsYRhDHZyk8tZz1WiHyB4uS7r0FR/EqdfcahYcSAD7fQM s39sDEzZfhFxkvpX9KOOjNTzO8HgLv9yfsvLeZfCa7Jb8Ij8f2bTdLmmHaJi4cm5ZiNv M2ew== MIME-Version: 1.0 X-Received: by 10.224.28.134 with SMTP id m6mr13056116qac.49.1394216343485; Fri, 07 Mar 2014 10:19:03 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.8.137 with HTTP; Fri, 7 Mar 2014 10:19:03 -0800 (PST) In-Reply-To: <20140307140432.0a460da1@zeta.dino.sk> References: <20140301143607.13a96bd6@zeta.dino.sk> <20140301200546.7ff373d1@zeta.dino.sk> <20140301231239.023b8733@zeta.dino.sk> <20140307140432.0a460da1@zeta.dino.sk> Date: Fri, 7 Mar 2014 10:19:03 -0800 X-Google-Sender-Auth: YhSq5z32QrXa5G6CEmXW_5rwThI Message-ID: Subject: Re: I (think) the AR8327 switch support now works From: Adrian Chadd To: Milan Obuch Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-mips@freebsd.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2014 18:19:04 -0000 On 7 March 2014 05:04, Milan Obuch wrote: > On Thu, 6 Mar 2014 23:05:56 -0800 > Adrian Chadd wrote: > >> Hi, >> >> So I'd add some debugging in arswitch_readreg() and >> arswitch_writereg() to see what's being read/written. It should be >> obviously wrong or not. >> >> It may be something like the arge0/arge1 MDIO speeds need to be >> changed. >> >> >> -a > > Where is this debugging? I just svn update my src-current tree, built > new kernel and does not see any debug info... There isn't any; you have to add printfs to them. :) -a