From owner-freebsd-net Fri Aug 16 13:28: 5 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD4C337B401; Fri, 16 Aug 2002 13:28:03 -0700 (PDT) Received: from ambrisko.com (adsl-64-174-51-42.dsl.snfc21.pacbell.net [64.174.51.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3D8943E65; Fri, 16 Aug 2002 13:28:02 -0700 (PDT) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.11.6/8.11.6) id g7GKRjE95057; Fri, 16 Aug 2002 13:27:45 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200208162027.g7GKRjE95057@ambrisko.com> Subject: Re: cvs commit: src/sys/dev/mii mii.c In-Reply-To: <200208161619.g7GGJl2x074161@vashon.polstra.com> To: John Polstra Date: Fri, 16 Aug 2002 13:27:45 -0700 (PDT) Cc: ambrisko@FreeBSD.org, net@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org John Polstra writes: | In article <200208072218.g77MIXPA082326@freefall.freebsd.org>, | Doug Ambrisko wrote: | > ambrisko 2002/08/07 15:18:33 PDT | > | > Modified files: | > sys/dev/mii mii.c | > Log: | > Only attach one PHY device to a controller. NetBSD has similar code. | > The D-Link DFE-580 card will otherwise show 2 miibuses for each controller | > and therefore 2 ukphy's. | | [cc to -net] | | This change seems wrong to me. Since the MII bus is a bus and since | phys have addresses on the bus, I've always assumed that the intent | was to be able to have more than one phy on an MII bus. While I don't | know of any NICs that actually use that feature, I hate to see it get | disabled without careful consideration. Although I don't disagree that you have a potential solution. I question whether there isn't a technical issue if you have multiple PHY's attached to a NIC. In the current stuff how would you ifconfig the other PHYs? If you can't access the other PHYs then why attach them. Did you look at the NetBSD code? When I read it they avoid probing more then one PHY in the MII code. Since we got this code from them shouldn't we follow suit? Did I mis-understand their code? Thanks, Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message