Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/dev My PowerMac3, 1 is using gpio4 to detect ...



details:   https://anonhg.NetBSD.org/src/rev/757895350bd0
branches:  trunk
changeset: 782430:757895350bd0
user:      phx <phx%NetBSD.org@localhost>
date:      Fri Nov 02 20:09:02 2012 +0000

description:
My PowerMac3,1 is using gpio4 to detect a connected headphone, and I would bet
that the same is true for PowerMac3,2.

diffstat:

 sys/arch/macppc/dev/awacs.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r d997c18d9972 -r 757895350bd0 sys/arch/macppc/dev/awacs.c
--- a/sys/arch/macppc/dev/awacs.c       Fri Nov 02 19:50:22 2012 +0000
+++ b/sys/arch/macppc/dev/awacs.c       Fri Nov 02 20:09:02 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: awacs.c,v 1.42 2011/11/24 03:35:57 mrg Exp $   */
+/*     $NetBSD: awacs.c,v 1.43 2012/11/02 20:09:02 phx Exp $   */
 
 /*-
  * Copyright (c) 2000 Tsubai Masanari.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awacs.c,v 1.42 2011/11/24 03:35:57 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awacs.c,v 1.43 2012/11/02 20:09:02 phx Exp $");
 
 #include <sys/param.h>
 #include <sys/audioio.h>
@@ -288,7 +288,9 @@
                                        "AAPL,3500",
                                        NULL};
 
-static const char *use_gpio4[] = {     "PowerMac3,3",
+static const char *use_gpio4[] = {     "PowerMac3,1",
+                                       "PowerMac3,2",
+                                       "PowerMac3,3",
                                        NULL};
 
 /*



Home | Main Index | Thread Index | Old Index