From owner-freebsd-hardware Mon May 25 03:08:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA14383 for freebsd-hardware-outgoing; Mon, 25 May 1998 03:08:39 -0700 (PDT) (envelope-from owner-freebsd-hardware@FreeBSD.ORG) Received: from penrose.isocor.ie (penrose.isocor.ie [194.106.155.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA14374 for ; Mon, 25 May 1998 03:08:30 -0700 (PDT) (envelope-from peter.edwards@isocor.ie) Received: from isocor.ie (194.106.155.26) by penrose.isocor.ie; 25 May 1998 11:07:59 +0100 Message-ID: <356942B2.84CD3D8D@isocor.ie> Date: Mon, 25 May 1998 11:06:42 +0100 From: Peter Edwards Organization: ISOCOR X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: "Matthew N. Dodd" CC: FreeBSD Hardware Subject: Re: Seeking hardware recommendations References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Not all 2114x cards have MII PHYs. As mentioned before, some cards' physical layers implement media detection through the "General Purpose" register bits. And yes, getting it to work for all cases is, to say the very least, "Problematic". (Now _theres_ an understatement!). A generic MII interface is a good idea though... Cheers, Peter Matthew N. Dodd wrote: > > On Fri, 22 May 1998, Tom wrote: > > The DEC chipsets are not that well supported. The media detection is > > problematic. There are many variances from model to model (at least a > > half a dozen different chipset versions). Ugh... > > The failure to auto detect is caused by lack of specific support for PHY > specific detection routines. > > NetBSD appears to be taking steps to deal with this by creating PHY > specific 'drivers' that attach to an MII 'bus'. > > This moves MII code out of the individual driver and potentially reduces > code duplication (in the case where several cards share a number of PHYs) > > I've spoken with Bill Paul about this and while we both agreed that this > would be a good thing, neither he or I have the time to do the work. > (He's got more interesting (for some value of) projects and I'm stuck in > the dark ages without any ethernet devices that support MII PHYs (mostly > due to my lack of PCI based systems at home.)) > > As a large number of available PHYs on the market (TI, National Semi, > Level One, PLX etc.) have full datasheets available doing the MII specific > code should be somewhat straight-forward. > > Check out sys/dev/mii for NetBSD's code. > > /* > Matthew N. Dodd | A memory retaining a love you had for life > winter@jurai.net | As cruel as it seems nothing ever seems to > http://www.jurai.net/~winter | go right - FLA M 3.1:53 > */ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hardware" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message