From owner-freebsd-arch@FreeBSD.ORG Sun Feb 12 18:30:52 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39BED106566C; Sun, 12 Feb 2012 18:30:52 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 473468FC1C; Sun, 12 Feb 2012 18:30:50 +0000 (UTC) Received: by wgbdq11 with SMTP id dq11so4334523wgb.31 for ; Sun, 12 Feb 2012 10:30:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.101.200 with SMTP id fi8mr19945602wib.20.1329071450147; Sun, 12 Feb 2012 10:30:50 -0800 (PST) Sender: juli@clockworksquid.com Received: by 10.227.209.78 with HTTP; Sun, 12 Feb 2012 10:30:50 -0800 (PST) Received: by 10.227.209.78 with HTTP; Sun, 12 Feb 2012 10:30:50 -0800 (PST) In-Reply-To: <20120212200437.05c7677f.ray@ddteam.net> References: <95372FB3-406F-46C2-8684-4FDB672D9FCF@lassitu.de> <20120106214741.GB88161@alchemy.franken.de> <20120108130039.GG88161@alchemy.franken.de> <23477898-8D85-498C-8E30-192810BD68A8@lassitu.de> <20120111193738.GB44286@alchemy.franken.de> <66DDA0A2-F878-43FF-8824-54868F493B18@lassitu.de> <20120125221753.GA17821@alchemy.franken.de> <20120211111731.GE39861@alchemy.franken.de> <20120211144544.c91701d9.ray@ddteam.net> <58EA57DC-75DF-4813-BB03-FD27F2A49BA2@bsdimp.com> <20120212200437.05c7677f.ray@ddteam.net> Date: Sun, 12 Feb 2012 10:30:50 -0800 X-Google-Sender-Auth: N208D9jop-uhLTPYFonF3rSJfm0 Message-ID: From: Juli Mallett To: Aleksandr Rybalko X-Gm-Message-State: ALoCoQn1QAXkf+A60urvr24xafOX8Gx13z55ynYNcXudomD/DqtECfo5uqzgcbGoCzfgFlsvCoGL Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Adrian Chadd , Stefan Bethke , Marius Strobl , Aleksandr Rybalko , FreeBSD-arch Subject: Re: Extending sys/dev/mii X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2012 18:30:52 -0000 > > The PHYs don't sit on arge1. They sit on another device that the > > driver bogusly assumes is tightly coupled to arge1, when in fact it > > isn't. > > At least for AR7240/AR7242, MDIO control registers lie in the middle of > register space used by if_arge. That's a fine electrical and address-oriented understanding, but that doesn't mean that a different functional conceptualization wouldn't lend itself better to implementation. Fidelity to the memory layout is a neat idea but not necessarily desirable or even reasonable.