Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2002 16:33:48 -0400 (EDT)
From:      "Matthew N. Dodd" <winter@jurai.net>
To:        Doug Ambrisko <ambrisko@ambrisko.com>
Cc:        John Polstra <jdp@polstra.com>, <ambrisko@FreeBSD.ORG>, <net@FreeBSD.ORG>
Subject:   Re: cvs commit: src/sys/dev/mii mii.c
Message-ID:  <20020816163042.D788-100000@sasami.jurai.net>
In-Reply-To: <200208162027.g7GKRjE95057@ambrisko.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 16 Aug 2002, Doug Ambrisko wrote:
> 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.

Because some cards pretend to have an MII PHY to represent the interal PHY
and use an external MII PHY to implement fast ethernet.  Some cards
support both fiber and copper interfaces and use a different MII PHY for
each.  Some cards have a MII connector for attaching an external MII PHY
to.

Ideally each supported mode on each MII PHY should be selectable.  You are
correct that the existing code doesn't exactly allow you to do this.  The
original assumption of the code was that there would never be multiple MII
PHYs present that supported the same media.

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| winter@jurai.net |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020816163042.D788-100000>