Mercurial > illumos > illumos-gate
changeset 10291:87d599b1efb6
6870367 some afe(7D) parts don't see ethernet links in snv_118
author | Garrett D'Amore <gdamore@opensolaris.org> |
---|---|
date | Tue, 11 Aug 2009 08:57:50 -0700 |
parents | ecc1578c5db2 |
children | 5f64d818187b |
files | usr/src/uts/common/io/mii/mii.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/io/mii/mii.c Tue Aug 11 04:55:17 2009 -0400 +++ b/usr/src/uts/common/io/mii/mii.c Tue Aug 11 08:57:50 2009 -0700 @@ -1278,8 +1278,8 @@ ph->phy_speed = 0; phy_write(ph, MII_AN_ADVERT, anar); - phy_write(ph, MII_CONTROL, - bmcr & ~(MII_CONTROL_ANE|MII_CONTROL_RSAN|MII_CONTROL_LOOPBACK)); + phy_write(ph, MII_CONTROL, bmcr & ~(MII_CONTROL_RSAN)); + switch (ph->phy_type) { case XCVR_1000T: case XCVR_1000X: