Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2008 00:56:01 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/mii e1000phy.c
Message-ID:  <200810230056.m9N0uA82015396@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2008-10-23 00:56:01 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/mii          e1000phy.c 
  Log:
  SVN rev 184191 on 2008-10-23 00:56:01Z by yongari
  
  MFC r183966:
    Some 88E1149 PHY's page select is initialized to point to other
    bank instead of copper/fiber bank which in turn resulted in
    wrong registers were accessed during PHY operation. It is
    believed that page 0 should be used for copper PHY so reinitialize
    E1000_EADR to select default copper PHY.
    This fixes link establishment issue of nfe(4) on Sun Fire X4140.
  
    OpenBSD also has similimar patch but they just reset the E1000_EADR
    register to page 0. However some Marvell PHYs((88E3082, 88E1000)
    don't have the extended address register and the meaning of the
    register is quite different for each PHY model. So selecting copper
    PHY is limited to 88E1149 PHY which seems to be the only one that
    exhibits link establishment problem. If parent device know the type
    of PHY(either copper or fiber) that information should be notified
    to PHY driver but there is no good way to pass this information yet.
  
    Reported by:  thompsa
    Reviewed by:  thompsa
    Approved by:  re (gnn)
  
  Revision  Changes    Path
  1.14.2.5  +14 -0     src/sys/dev/mii/e1000phy.c



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