Module Name: src Committed By: riz Date: Tue Nov 6 20:10:49 UTC 2012
Modified Files: src/sys/arch/macppc/dev [netbsd-5]: awacs.c Log Message: Pull up following revision(s) (requested by phx in ticket #1816): sys/arch/macppc/dev/awacs.c: revision 1.43 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.35 -r1.35.4.1 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.35 src/sys/arch/macppc/dev/awacs.c:1.35.4.1 --- src/sys/arch/macppc/dev/awacs.c:1.35 Wed Aug 27 14:31:46 2008 +++ src/sys/arch/macppc/dev/awacs.c Tue Nov 6 20:10:49 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: awacs.c,v 1.35 2008/08/27 14:31:46 jmcneill Exp $ */ +/* $NetBSD: awacs.c,v 1.35.4.1 2012/11/06 20:10:49 riz 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.35 2008/08/27 14:31:46 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: awacs.c,v 1.35.4.1 2012/11/06 20:10:49 riz Exp $"); #include <sys/param.h> #include <sys/audioio.h> @@ -281,7 +281,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}; /*