Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Nov 2010 20:14:39 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r215003 - stable/8/sys/dev/alc
Message-ID:  <201011082014.oA8KEdcB050869@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Mon Nov  8 20:14:38 2010
New Revision: 215003
URL: http://svn.freebsd.org/changeset/base/215003

Log:
  MFC r214542:
    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

Modified:
  stable/8/sys/dev/alc/if_alc.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/dev/alc/if_alc.c
==============================================================================
--- stable/8/sys/dev/alc/if_alc.c	Mon Nov  8 20:05:22 2010	(r215002)
+++ stable/8/sys/dev/alc/if_alc.c	Mon Nov  8 20:14:38 2010	(r215003)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011082014.oA8KEdcB050869>