Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/hdaudio relax the test for analog devices analog...
details: https://anonhg.NetBSD.org/src/rev/3d71c6183560
branches: trunk
changeset: 772163:3d71c6183560
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Wed Dec 21 02:16:57 2011 +0000
description:
relax the test for analog devices analog pcbeep widgets
diffstat:
sys/dev/pci/hdaudio/hdafg.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (30 lines):
diff -r b67a12c6907d -r 3d71c6183560 sys/dev/pci/hdaudio/hdafg.c
--- a/sys/dev/pci/hdaudio/hdafg.c Wed Dec 21 01:58:46 2011 +0000
+++ b/sys/dev/pci/hdaudio/hdafg.c Wed Dec 21 02:16:57 2011 +0000
@@ -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 <support%precedence.co.uk@localhost>
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index