[alsa-devel] [HDA - Add support for VMware HDA Controller 1/1]

Takashi Iwai tiwai at suse.de
Mon Jan 17 15:27:25 CET 2011


At Fri, 14 Jan 2011 18:32:30 -0800,
Bankim Bhavsar wrote:
> 
> [ALSA]: HDA - Add support for VMware controller.
> Add the new PCI ID 0x15ad and device ID 0x1977 for VMware HDAudio Controller.
> 
> 
> Signed-off-by: Bankim Bhavsar <bbhavsar at vmware.com>

Thanks.

Since VMware controller seems HD-audio standard compliant, we can
simply use AZX_DRIVER_GENERIC.  I applied with that change now.


Takashi

> 
> diff --git a/pci/hda/hda_intel.c b/pci/hda/hda_intel.c
> index d3d18be..d9394d8 100644
> --- a/pci/hda/hda_intel.c
> +++ b/pci/hda/hda_intel.c
> @@ -459,6 +459,7 @@ enum {
>  	AZX_DRIVER_NVIDIA,
>  	AZX_DRIVER_TERA,
>  	AZX_DRIVER_CTX,
> +	AZX_DRIVER_VMWARE,
>  	AZX_DRIVER_GENERIC,
>  	AZX_NUM_DRIVERS, /* keep this as last entry */
>  };
> @@ -475,6 +476,7 @@ static char *driver_short_names[] __devinitdata = {
>  	[AZX_DRIVER_NVIDIA] = "HDA NVidia",
>  	[AZX_DRIVER_TERA] = "HDA Teradici", 
>  	[AZX_DRIVER_CTX] = "HDA Creative", 
> +	[AZX_DRIVER_VMWARE] = "HDA VMware",
>  	[AZX_DRIVER_GENERIC] = "HD-Audio Generic",
>  };
>  
> @@ -2793,6 +2795,8 @@ static DEFINE_PCI_DEVICE_TABLE(azx_ids) = {
>  	  .driver_data = AZX_DRIVER_NVIDIA },
>  	/* Teradici */
>  	{ PCI_DEVICE(0x6549, 0x1200), .driver_data = AZX_DRIVER_TERA },
> +	/* VMware HDAudio */
> +	{ PCI_DEVICE(0x15ad, 0x1977), .driver_data = AZX_DRIVER_VMWARE },
>  	/* Creative X-Fi (CA0110-IBG) */
>  #if !defined(CONFIG_SND_CTXFI) && !defined(CONFIG_SND_CTXFI_MODULE)
>  	/* the following entry conflicts with snd-ctxfi driver,
> -- 
> 1.7.0.4
> [2 hdaudio.diff <application/octet-stream (base64)>]
> 
> [3  <text/plain; us-ascii (7bit)>]
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


More information about the Alsa-devel mailing list