svn commit: r214542 - head/sys/dev/alc

Pyun YongHyeon yongari at FreeBSD.org
Sat Oct 30 01:12:55 UTC 2010


Author: yongari
Date: Sat Oct 30 01:12:54 2010
New Revision: 214542
URL: http://svn.freebsd.org/changeset/base/214542

Log:
  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:
  head/sys/dev/alc/if_alc.c

Modified: head/sys/dev/alc/if_alc.c
==============================================================================
--- head/sys/dev/alc/if_alc.c	Sat Oct 30 00:00:54 2010	(r214541)
+++ head/sys/dev/alc/if_alc.c	Sat Oct 30 01:12:54 2010	(r214542)
@@ -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


More information about the svn-src-all mailing list