cvs commit: src/sys/dev/netif/mii_layer rlphy.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Oct 31 01:23:47 PST 2005


sephe       2005/10/31 01:20:05 PST

DragonFly src repository

  Modified files:
    sys/dev/netif/mii_layer rlphy.c 
  Log:
  - In rlphy_attach(), turn on BMCR_AUTOEN after mii_phy_reset().  This unbreaks
    auto-negotiation(*) before mii_mediachg() is called(in rl_init()).  Add
    comment on this change
  - Staticize rlphy_{service, status}(), since they are only used in this file
  - ANSIfy
  
  (*)
  The original broken auto-negotiation can easily be reproduced:
  1) Comment out ifconfig_rl0 in /etc/rc.conf
  2) Unplug wire from rl0
  3) Restart DragonFly
  4) Run `ifconfig rl0'
  
  Revision  Changes    Path
  1.9       +20 -16    src/sys/dev/netif/mii_layer/rlphy.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/rlphy.c.diff?r1=1.8&r2=1.9&f=u





More information about the Commits mailing list