Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm/awin PH22 for audiopactrl on Hummingbird A31



details:   https://anonhg.NetBSD.org/src/rev/cd19c5820c54
branches:  trunk
changeset: 803087:cd19c5820c54
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Oct 12 14:04:52 2014 +0000

description:
PH22 for audiopactrl on Hummingbird A31

diffstat:

 sys/arch/evbarm/awin/awin_machdep.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 5d76efb3bcf6 -r cd19c5820c54 sys/arch/evbarm/awin/awin_machdep.c
--- a/sys/arch/evbarm/awin/awin_machdep.c       Sun Oct 12 13:48:25 2014 +0000
+++ b/sys/arch/evbarm/awin/awin_machdep.c       Sun Oct 12 14:04:52 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: awin_machdep.c,v 1.14 2014/10/12 13:08:12 jmcneill Exp $ */
+/*     $NetBSD: awin_machdep.c,v 1.15 2014/10/12 14:04:52 jmcneill Exp $ */
 
 /*
  * Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -125,7 +125,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.14 2014/10/12 13:08:12 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.15 2014/10/12 14:04:52 jmcneill Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -628,7 +628,12 @@
 #elif AWIN_board == AWIN_hummingbird_a31
                prop_dictionary_set_cstring(dict, "mmc0detect", "<PH8");
 #endif
+
+#if AWIN_board == AWIN_hummingbird_a31
+               prop_dictionary_set_cstring(dict, "audiopactrl", ">PH22");
+#else
                prop_dictionary_set_cstring(dict, "audiopactrl", ">PH15");
+#endif
 
                /*
                 * These pins have no connections.



Home | Main Index | Thread Index | Old Index