Module Name:    src
Committed By:   jmcneill
Date:           Wed Dec 21 02:16:57 UTC 2011

Modified Files:
        src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
relax the test for analog devices analog pcbeep widgets


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/pci/hdaudio/hdafg.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/dev/pci/hdaudio/hdafg.c
diff -u src/sys/dev/pci/hdaudio/hdafg.c:1.14 src/sys/dev/pci/hdaudio/hdafg.c:1.15
--- src/sys/dev/pci/hdaudio/hdafg.c:1.14	Mon Dec 19 12:19:26 2011
+++ src/sys/dev/pci/hdaudio/hdafg.c	Wed Dec 21 02:16:57 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: hdafg.c,v 1.14 2011/12/19 12:19:26 jmcneill Exp $ */
+/* $NetBSD: hdafg.c,v 1.15 2011/12/21 02:16:57 jmcneill Exp $ */
 
 /*
  * Copyright (c) 2009 Precedence Technologies Ltd <supp...@precedence.co.uk>
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hdafg.c,v 1.14 2011/12/19 12:19:26 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hdafg.c,v 1.15 2011/12/21 02:16:57 jmcneill Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -694,10 +694,7 @@ hdafg_widget_getcaps(struct hdaudio_widg
 		    COP_CFG_PORT_CONNECTIVITY(config) ==
 		      COP_PORT_FIXED_FUNCTION &&
 		    COP_CFG_DEFAULT_DEVICE(config) ==
-		      COP_DEVICE_OTHER &&
-		    COP_CFG_CONNECTION_TYPE(config) ==
-		      COP_CONN_TYPE_ATAPI_INTERNAL &&
-		    COP_CFG_COLOR(config) == 0x0) {
+		      COP_DEVICE_OTHER) {
 			pcbeep = true;
 		}
 		break;

Reply via email to