Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2002 13:55:50 -0700 (PDT)
From:      Bill Paul <wpaul@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/mii miidevs rlphy.c src/sys/pci if_rl.c
Message-ID:  <200204072055.g37KtoY78352@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
wpaul       2002/04/07 13:55:50 PDT

  Modified files:
    sys/dev/mii          miidevs rlphy.c 
    sys/pci              if_rl.c 
  Log:
  Teach the rlphy driver how to do parallel link detection. If the link partner
  doesn't support NWAY, the RealTek PHY (both the integrated ones on 8139
  chips and the RTL8201L 10/100 PHY) will not report the link speed via
  the ANLPAR or BMSR registers. For the 8201L, we need to look in magic
  vendor-specific PHY register 0x19. For the 8139 MAC+PHY combo, we have
  to be able to test the RL_MEDIASTAT register.
  
  The changes to rlphy.c are based largely on the patch from PR 30836,
  however I tried to eliminate some magic numbers by creating an entry
  for the 8201 PHY in miidevs.
  
  Also updated if_rl.c to allow the rlphy driver to read the RL_MEDIASTAT
  register via the rl_miibus_readreg() routine.
  
  Revision  Changes    Path
  1.18      +4 -0      src/sys/dev/mii/miidevs
  1.8       +113 -1    src/sys/dev/mii/rlphy.c
  1.67      +11 -0     src/sys/pci/if_rl.c

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




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