[prev in list] [next in list] [prev in thread] [next in thread]
List: dragonfly-commits
Subject: cvs commit: src/sys/dev/netif/mii_layer rlphy.c
From: Sepherosa Ziehau <sephe () crater ! dragonflybsd ! org>
Date: 2005-10-31 9:20:05
Message-ID: 200510310920.j9V9K5bu033426 () crater ! dragonflybsd ! org
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic