Module Name: src
Committed By: phx
Date: Fri Nov 2 20:09:02 UTC 2012
Modified Files:
src/sys/arch/macppc/dev: awacs.c
Log Message:
My PowerMac3,1 is using gpio4 to detect a connected headphone, and I would bet
that the same is true for PowerMac3,2.
To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/macppc/dev/awacs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/macppc/dev/awacs.c
diff -u src/sys/arch/macppc/dev/awacs.c:1.42 src/sys/arch/macppc/dev/awacs.c:1.43
--- src/sys/arch/macppc/dev/awacs.c:1.42 Thu Nov 24 03:35:57 2011
+++ src/sys/arch/macppc/dev/awacs.c Fri Nov 2 20:09:02 2012
@@ -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 @@ static const char *detect_reversed[] = {
"AAPL,3500",
NULL};
-static const char *use_gpio4[] = { "PowerMac3,3",
+static const char *use_gpio4[] = { "PowerMac3,1",
+ "PowerMac3,2",
+ "PowerMac3,3",
NULL};
/*