aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/alc
diff options
context:
space:
mode:
authorPyun YongHyeon <yongari@FreeBSD.org>2010-10-30 01:12:54 +0000
committerPyun YongHyeon <yongari@FreeBSD.org>2010-10-30 01:12:54 +0000
commitd0b2f7efb7918a3d89532dbd02375e640c0c068e (patch)
treeedde435615555360777e559d1bd15b21a9f99f45 /sys/dev/alc
parentbf77b6f8d781e9dd3045d1b2a4974b16cfaec929 (diff)
downloadsrc-d0b2f7efb7918a3d89532dbd02375e640c0c068e.tar.gz
src-d0b2f7efb7918a3d89532dbd02375e640c0c068e.zip
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
Notes
Notes: svn path=/head/; revision=214542
Diffstat (limited to 'sys/dev/alc')
-rw-r--r--sys/dev/alc/if_alc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/alc/if_alc.c b/sys/dev/alc/if_alc.c
index 5f0f7eccfd85..aee0e1019821 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