From owner-freebsd-mips@FreeBSD.ORG Fri Mar 7 07:05:57 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 B5D1DE7D for ; Fri, 7 Mar 2014 07:05:57 +0000 (UTC) Received: from mail-qg0-x22f.google.com (mail-qg0-x22f.google.com [IPv6:2607:f8b0:400d:c04::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 722EA401 for ; Fri, 7 Mar 2014 07:05:57 +0000 (UTC) Received: by mail-qg0-f47.google.com with SMTP id 63so10389890qgz.6 for ; Thu, 06 Mar 2014 23:05:56 -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=ZwK6yP1hqDmkBUY2uzqRS3zsi7+QOHppBLZCJUxAtIw=; b=gANqXbqQrNKRUWm32zt1wQYLOG1g0bWgyKh4RYvxC7JwxP8J6RxP2zuucU69HBpMmp 0iyohAlqcSCABWysPezhdQPQpnu2AfKgN9j5H6WtWmxzj2Sk9323e1uS7WocFVMdM2iF ZeX7ytF0tcNYD9AOMgBwp79iLmiRyKws+UJAGopkZ8LtFnFG+Q5vn+foiSUbxwNYvroR MSLzb+grHgHdrQcbLLSM/tgsn1ZAQGpAW+kPYKRHrpOUeVI37dd8DV09Nu+1iitXd8Fn zJzlsl3OqxTLrpyRZujjUT/3hQc0AM8wGSDEEyP2MeJ+kTR2OFsykftLIpoEHdP6oiFj 2iZg== MIME-Version: 1.0 X-Received: by 10.224.165.133 with SMTP id i5mr19523687qay.75.1394175956494; Thu, 06 Mar 2014 23:05:56 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.8.137 with HTTP; Thu, 6 Mar 2014 23:05:56 -0800 (PST) In-Reply-To: <20140301231239.023b8733@zeta.dino.sk> References: <20140301143607.13a96bd6@zeta.dino.sk> <20140301200546.7ff373d1@zeta.dino.sk> <20140301231239.023b8733@zeta.dino.sk> Date: Thu, 6 Mar 2014 23:05:56 -0800 X-Google-Sender-Auth: kxAgetwc1a0_-HpqIGcTE9tezP8 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 07:05:57 -0000 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