From owner-freebsd-mips@FreeBSD.ORG Fri May 4 18:30:38 2012 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 D15C81065687; Fri, 4 May 2012 18:30:38 +0000 (UTC) (envelope-from pkelsey@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 75A2A8FC12; Fri, 4 May 2012 18:30:38 +0000 (UTC) Received: by qcsg15 with SMTP id g15so2607569qcs.13 for ; Fri, 04 May 2012 11:30:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=0JXQVPhfr7bdpEGv/02uDPrLahO0v4mxRBbhs44seY0=; b=0ak7JhLuQB+Yhn6yVlMVuKlHVL9jF0Z/8zOfTnZMpSUfCok8salJqXq3Z3lV7I0yaf hWFMKvvzCL7ojE2xN/P6EUFkNPi3qATkblhElwV019MqdoBrLvOA2kyLc4w6T2jKwaTY spuB9DGdSlFKW/HHb3zqpe8DzAHhFD3fhL0LnSp/FVIGaZM3I3StRZbROpQJsFdRg63V 5Mx++3eHpwzAZBUk9C3ojV285c5cT2Df6Z+18UZGtdJkElfNOWi7ukmJAQSu9xSPAhls tT6A4qU+WzxvbUOhQ+TXOCJ1lh6fjY3qCSbK78FM6JCTgD+uLRQL/plLVXQnOQXSauw0 rHig== MIME-Version: 1.0 Received: by 10.224.100.71 with SMTP id x7mr11625038qan.92.1336156237699; Fri, 04 May 2012 11:30:37 -0700 (PDT) Sender: pkelsey@gmail.com Received: by 10.229.149.198 with HTTP; Fri, 4 May 2012 11:30:37 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 May 2012 14:30:37 -0400 X-Google-Sender-Auth: J1SgSKY7eDhqsU57WGsFe08wZpc Message-ID: From: Patrick Kelsey To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-mips@freebsd.org Subject: Re: heads up - ar71xx changes 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: Fri, 04 May 2012 18:30:38 -0000 On Fri, May 4, 2012 at 1:45 PM, Adrian Chadd wrote: > Hi, > > Is this with the switch PHY driver of yours, or just stand-alone? > What's the PHY that arge1 is attached to? Hmmm. On the RB450G, arge1 is connected to port 5 on the AR8316 switch, and port 5 on the AR8316 is configured by the boot loader to bypass the switch complex and connect directly to an internal PHY. The MDIO bus on the AR8316 is wired to arge0. arge0 is connected to the cpu port on the AR8316, with no real PHY. That hack diff I sent is making less and less overall sense (although it does let me limp along for the moment). What I really want is for arge0 to initialize to whatever fixed rate is hinted (or defaulted when no hint is given), and I want arge1 to see its PHY on the MDIO bus attached to arge0. Perhaps I should have ARGE_MDIO defined whereas I currently do not? -Patrick