[openfirmware] [commit] r1844 - dev/hdaudio
repository service
svn at openfirmware.info
Sun Jun 27 19:25:50 CEST 2010
Author: wmb
Date: Sun Jun 27 19:25:50 2010
New Revision: 1844
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/1844
Log:
HDaudio driver - completed the list of HDaudio configuration default
field values and changed some names for clarity.
Modified:
dev/hdaudio/config.fth
dev/hdaudio/start-cx2058x.fth
Modified: dev/hdaudio/config.fth
==============================================================================
--- dev/hdaudio/config.fth Sun Jun 27 19:20:23 2010 (r1843)
+++ dev/hdaudio/config.fth Sun Jun 27 19:25:50 2010 (r1844)
@@ -3,26 +3,72 @@
: config( ( -- null-config-default ) 0 ;
-: 1/8" ( u -- u ) h# 10000 or ;
-: oanalog ( u -- u ) h# 70000 or ; \ other analog
-: overrd ( u -- u ) h# 100 or ; \ override
-: black ( u -- u ) h# 1000 or ;
-: green ( u -- u ) h# 4000 or ;
-: pink ( u -- u ) h# 9000 or ;
-: hp-out ( u -- u ) h# 200000 or ;
-: spdiff-out ( u -- u ) h# 400000 or ;
-: mic-in ( u -- u ) h# a00000 or ;
-: line-in ( u -- u ) h# 800000 or ;
-: line-out ( u -- u ) ;
-: speaker ( u -- u ) h# 100000 or ;
-: top ( u -- u ) h# 5000000 or ;
-: right ( u -- u ) h# 4000000 or ;
-: left ( u -- u ) h# 3000000 or ;
-: front ( u -- u ) h# 2000000 or ;
-: internal ( u -- u ) h# 10000000 or ;
-: jack ( u -- u ) h# 00000000 or ;
-: unused ( u -- u ) h# 40000000 or ;
-: builtin ( u -- u ) h# 80000000 or ;
+\ Connection types
+ : 1/8" ( u -- u ) h# 10000 or ;
+\ : 1/4" ( u -- u ) h# 20000 or ;
+\ : atapi ( u -- u ) h# 30000 or ;
+\ : rca ( u -- u ) h# 40000 or ;
+\ : optical ( u -- u ) h# 50000 or ;
+\ : other-digital ( u -- u ) h# 60000 or ;
+ : other-analog ( u -- u ) h# 70000 or ;
+\ : din ( u -- u ) h# 80000 or ;
+\ : xlr ( u -- u ) h# 90000 or ;
+\ : rj-11 ( u -- u ) h# a0000 or ;
+\ : combination ( u -- u ) h# b0000 or ;
+\ : other ( u -- u ) h# f0000 or ;
+
+\ Misc
+ : no-detect ( u -- u ) h# 100 or ; \ override jack presence detection
+
+\ Colors
+\ : unknown ( u -- u ) h# 0000 or ;
+\ : black ( u -- u ) h# 1000 or ;
+\ : grey ( u -- u ) h# 2000 or ;
+\ : blue ( u -- u ) h# 3000 or ;
+ : green ( u -- u ) h# 4000 or ;
+\ : read ( u -- u ) h# 5000 or ;
+\ : orange ( u -- u ) h# 6000 or ;
+\ : yellow ( u -- u ) h# 7000 or ;
+\ : purple ( u -- u ) h# 8000 or ;
+ : pink ( u -- u ) h# 9000 or ;
+\ : white ( u -- u ) h# e000 or ;
+\ : other-color ( u -- u ) h# f000 or ;
+
+\ Device
+ : line-out ( u -- u ) h# 000000 or ;
+ : speaker ( u -- u ) h# 100000 or ;
+ : hp-out ( u -- u ) h# 200000 or ;
+\ : cd-in ( u -- u ) h# 300000 or ;
+\ : spdif-out ( u -- u ) h# 400000 or ;
+\ : other-digital-out ( u -- u ) h# 500000 or ;
+\ : modem-line ( u -- u ) h# 600000 or ;
+\ : modem-handset ( u -- u ) h# 700000 or ;
+\ : line-in ( u -- u ) h# 800000 or ;
+\ : aux ( u -- u ) h# 900000 or ;
+ : mic-in ( u -- u ) h# a00000 or ;
+\ : telephony ( u -- u ) h# b00000 or ;
+\ : spdif-in ( u -- u ) h# c00000 or ;
+\ : other-digital-in ( u -- u ) h# e00000 or ;
+\ : other-device ( u -- u ) h# f00000 or ;
+
+\ : rear ( u -- u ) h# 1000000 or ;
+ : front ( u -- u ) h# 2000000 or ;
+ : left ( u -- u ) h# 3000000 or ;
+ : right ( u -- u ) h# 4000000 or ;
+ : top ( u -- u ) h# 5000000 or ;
+\ : bottom ( u -- u ) h# 6000000 or ;
+\ : rear-panel ( u -- u ) h# 7000000 or ;
+\ : drive-bay ( u -- u ) h# 8000000 or ;
+\ : riser ( u -- u ) h# 17000000 or ;
+\ : hdmi ( u -- u ) h# 18000000 or ;
+\ : atapi-loc ( u -- u ) h# 19000000 or ;
+\ : lid-inside ( u -- u ) h# 37000000 or ;
+\ : lid-outside ( u -- u ) h# 38000000 or ;
+
+: jack ( u -- u ) h# 00000000 or ;
+: internal ( u -- u ) h# 10000000 or ;
+: unused ( u -- u ) h# 40000000 or ;
+: builtin ( u -- u ) h# 80000000 or ;
\ LICENSE_BEGIN
\ Copyright (c) 2009 Luke Gorrie <luke at bup.co.nz>
Modified: dev/hdaudio/start-cx2058x.fth
==============================================================================
--- dev/hdaudio/start-cx2058x.fth Sun Jun 27 19:20:23 2010 (r1843)
+++ dev/hdaudio/start-cx2058x.fth Sun Jun 27 19:25:50 2010 (r1844)
@@ -60,17 +60,17 @@
porta config( 1/8" green left hp-out jack )config
porta config( 1/8" green left hp-out jack )config
portb config( 1/8" pink left mic-in jack )config
- portc config( builtin internal top mic-in overrd oanalog )config
- portd config( unused line-out overrd )config
- porte config( unused line-out overrd )config
- portf config( unused line-out overrd )config
- portg config( builtin internal front speaker overrd oanalog )config
- porth config( unused line-out overrd )config
- porti config( unused line-out overrd )config
- portj config( unused line-out overrd )config
+ portc config( builtin internal top mic-in no-detect other-analog )config
+ portd config( unused line-out no-detect )config
+ porte config( unused line-out no-detect )config
+ portf config( unused line-out no-detect )config
+ portg config( builtin internal front speaker no-detect other-analog )config
+ porth config( unused line-out no-detect )config
+ porti config( unused line-out no-detect )config
+ portj config( unused line-out no-detect )config
vendor \ Vendor node
- portk config( unused line-out overrd )config \ Luna
+ portk config( unused line-out no-detect )config
\ Codec registers
21000 place-verb \ Undocumented register
More information about the openfirmware
mailing list