cvs commit: src/sys/dev/mii e1000phy.c

Pyun YongHyeon yongari at
Thu Mar 22 04:05:19 UTC 2007

yongari     2007-03-22 04:05:18 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/mii          e1000phy.c 
  MFC e1000phy.c rev. 1.17, 1.18 to RELENG_6
  rev. 1.17
    o style(9) fixes
  rev. 1.18
    o Add support code for newer Marvell PHYs.
    o Remove unused static global variable e1000phy_debug.
    o Take advantage of mii_phy_dev_probe().
    o Use MII_ANEGTICKS/MII_ANEGTICKS_GIGE instead of magic number 5.
    o Add IFM_NONE as e1000phy(4) supports it without issues.
    o Nuke magic PHY programming sequence in PHY reset and follow correct
      reset sequence. [1]
    o Make manual media selection work for all supported media types.
    o Don't set MIIF_NOISOLATE so e1000phy(4) can be used in
      configurations with multiple PHYs.
    o In 1000baseT, when setting the link manually, one side must be the
      master and the other the slave. If LINK0 is set, program the PHY
      to be a master, otherwise it's a slave.
    o When we lost a link, reset mii_ticks immediately so it correctly
      check number of seconds elapsed in autonegotiation phase.
    o Announce link loss right after it happens.
    o After kicking autonegotiation, report PHY status instead of
      returning immediatly.
    o When link state check is in progress, check auto negotiation
      completion bit only when auto negotiation is enbaled.
    o When PHY is resolved to a master, show it with IFM_FLAG2.
  Revision  Changes    Path  +216 -131  src/sys/dev/mii/e1000phy.c

More information about the cvs-src mailing list