diff options
author | yongari <yongari@FreeBSD.org> | 2010-10-30 01:12:54 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2010-10-30 01:12:54 +0000 |
commit | d5b678ca0dc503e5c0ee4dde9d43cb0138def17c (patch) | |
tree | edde435615555360777e559d1bd15b21a9f99f45 /sys | |
parent | 0a09192b6fff701aa3fec4b0b84de9b0cc41d85f (diff) | |
download | FreeBSD-src-d5b678ca0dc503e5c0ee4dde9d43cb0138def17c.zip FreeBSD-src-d5b678ca0dc503e5c0ee4dde9d43cb0138def17c.tar.gz |
Don't bother to enable ASPM L1 to save more power. Even though I am
not able to trigger the issue with sample boards, some users seems
to suffer from freeze/lockup when system is booted without UTP cable
plugged in. I'm not sure whether this is BIOS issue or controller
bug. This change fixes AR8132 lockup issue seen on EEE PC.
Reported by: kmoore
Tested by: kmoore
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/alc/if_alc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/alc/if_alc.c b/sys/dev/alc/if_alc.c index 5f0f7ec..aee0e10 100644 --- a/sys/dev/alc/if_alc.c +++ b/sys/dev/alc/if_alc.c @@ -331,8 +331,8 @@ alc_miibus_statchg(device_t dev) reg = CSR_READ_4(sc, ALC_MAC_CFG); reg |= MAC_CFG_TX_ENB | MAC_CFG_RX_ENB; CSR_WRITE_4(sc, ALC_MAC_CFG, reg); + alc_aspm(sc, IFM_SUBTYPE(mii->mii_media_active)); } - alc_aspm(sc, IFM_SUBTYPE(mii->mii_media_active)); } static void |