]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Disable PHY hibernation until I get more detailed hibernation
authoryongari <yongari@FreeBSD.org>
Mon, 22 Aug 2011 20:33:05 +0000 (20:33 +0000)
committeryongari <yongari@FreeBSD.org>
Mon, 22 Aug 2011 20:33:05 +0000 (20:33 +0000)
commit90836b4689c5f41c0cecc54709de8602864ee605
tree1f49ecc44eaccb815a507f8dde9b18a40bb9ee67
parent9d10e169c997a3477c1b9e10cbc342c39734acf2
Disable PHY hibernation until I get more detailed hibernation
programming secret.  The PHY would go into sleep state when it
detects no established link and it will re-establish link when the
cable is plugged in.  Previously it failed to re-establish link
when the cable is plugged in such that it required to manually down
and up the interface again to make it work.  This came from
incorrectly programmed hibernation parameters.  According to
Atheros, each PHY chip requires different configuration for
hibernation and different vendor has different settings for the
same chip.
Disabling hibernation may consume more power but establishing link
looks more important than saving power.
Special thanks to Atheros for giving me instructions that disable
hibernation.

MFC after: 1 week
Approved by: re (kib)
sys/dev/alc/if_alc.c