DragonFly BSD
DragonFly commits List (threaded) for 2005-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Oct 2005 01:20:05 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]