[openfirmware] [commit] r2585 - dev/geode/ac97

repository service svn at openfirmware.info
Fri Oct 7 22:21:02 CEST 2011


Author: wmb
Date: Fri Oct  7 22:21:02 2011
New Revision: 2585
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2585

Log:
OLPC XO-1 - trac #11311 - Fix audio in Linux by leaving the Geode's AC97 device
enabled and responsive on the PCI bus, instead of turning it off.

Modified:
   dev/geode/ac97/ac97.fth

Modified: dev/geode/ac97/ac97.fth
==============================================================================
--- dev/geode/ac97/ac97.fth	Wed Oct  5 02:52:45 2011	(r2584)
+++ dev/geode/ac97/ac97.fth	Fri Oct  7 22:21:02 2011	(r2585)
@@ -40,7 +40,9 @@
 ;
 : unmap-regs  ( -- )
    au /chipbase " map-out" $call-parent
-   0 4 my-w!
+   \ Don't turn off the command register; it breaks Linux due to a complex interaction
+   \ with emulated PCI registers on Geode.
+   \  0 4 my-w!
 ;
 
 : dma-alloc  ( size -- virt )  " dma-alloc" $call-parent  ;



More information about the openfirmware mailing list