Module Name:    src
Committed By:   stacktic
Date:           Tue Apr  7 14:47:53 UTC 2009

Modified Files:
        src/sys/dev/pci: azalia_codec.c

Log Message:
Add Realtek ALC663 and treat like ALC662 (ok pooka@)


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/dev/pci/azalia_codec.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/azalia_codec.c
diff -u src/sys/dev/pci/azalia_codec.c:1.76 src/sys/dev/pci/azalia_codec.c:1.77
--- src/sys/dev/pci/azalia_codec.c:1.76	Sat Feb 28 17:12:13 2009
+++ src/sys/dev/pci/azalia_codec.c	Tue Apr  7 14:47:53 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: azalia_codec.c,v 1.76 2009/02/28 17:12:13 jmcneill Exp $	*/
+/*	$NetBSD: azalia_codec.c,v 1.77 2009/04/07 14:47:53 stacktic Exp $	*/
 
 /*-
  * Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: azalia_codec.c,v 1.76 2009/02/28 17:12:13 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: azalia_codec.c,v 1.77 2009/04/07 14:47:53 stacktic Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -213,6 +213,12 @@
 		this->mixer_init = generic_mixer_autoinit;
 		this->init_widget = generic_mixer_init_widget;
 		break;
+	case 0x10ec0663:
+		this->name = "Realtek ALC663";
+		this->init_dacgroup = alc662_init_dacgroup;
+		this->mixer_init = generic_mixer_autoinit;
+		this->init_widget = generic_mixer_init_widget;
+		break;
 	case 0x10ec0861:
 		this->name = "Realtek ALC861";
 		this->init_dacgroup = alc861_init_dacgroup;

Reply via email to