[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@vmware.com
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,