usr/src/uts/common/io/audio/drv/audiohd/audiohd.h
changeset 10821 77dbb4cf3365
parent 10531 3dbb42515756
child 11047 dc0bb5e7d98b
--- a/usr/src/uts/common/io/audio/drv/audiohd/audiohd.h	Tue Oct 20 16:37:16 2009 -0700
+++ b/usr/src/uts/common/io/audio/drv/audiohd/audiohd.h	Wed Oct 21 10:55:51 2009 +0800
@@ -35,9 +35,15 @@
 #define	AUDIOHD_VID_INTEL	0x8086
 #define	AUDIOHD_VID_ATI		0x1002
 #define	AUDIOHD_VID_NVIDIA	0x10de
+#define	AUDIOHD_VID_REALTEK	0x10ec
 #define	AUDIOHD_VID_SIGMATEL	0x8384
 
 /*
+ * specific audiohd controller device id
+ */
+#define	AUDIOHD_CONTROLLER_MCP51	0x10de026c
+
+/*
  * specific codec id used by specific vendors
  */
 #define	AUDIOHD_CODEC_IDT7608	0x111d7608
@@ -95,7 +101,7 @@
 #define	AUDIOHD_SP_ON		1
 #define	AUDIOHD_SP_OFF		0
 
-#define	AUDIOHD_PORT_MAX		15
+#define	AUDIOHD_PORT_MAX	15
 #define	AUDIOHD_CODEC_MAX	16
 #define	AUDIOHD_MEMIO_LEN	0x4000
 
@@ -146,8 +152,8 @@
 #define	AUDIOHD_PIN_VREF_L4	0x02
 #define	AUDIOHD_PIN_VREF_OFF	8
 #define	AUDIOHD_PIN_VREF_MASK	0xff
-#define	AUDIOHD_PIN_CLR_MASK		0xf
-#define	AUDIOHD_PIN_CLR_OFF		12
+#define	AUDIOHD_PIN_CLR_MASK	0xf
+#define	AUDIOHD_PIN_CLR_OFF	12
 
 
 #define	AUDIOHD_VERB_ADDR_OFF	28
@@ -807,6 +813,7 @@
 
 
 	audio_dev_t	*adev;
+	uint32_t	devid;
 
 
 	int		hda_pint_freq;	/* play intr frequence */