Patchwork pci: Add class 0x403 as 'audio controller'

login
register
mail settings
Submitter Jan Kiszka
Date May 2, 2011, 6:01 p.m.
Message ID <4DBEF181.6090208@siemens.com>
Download mbox | patch
Permalink /patch/93689/
State New
Headers show

Comments

Jan Kiszka - May 2, 2011, 6:01 p.m.
Used by HD audio controllers like our intel-hda.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 hw/pci.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Michael S. Tsirkin - May 5, 2011, 1:11 p.m.
On Mon, May 02, 2011 at 08:01:37PM +0200, Jan Kiszka wrote:
> Used by HD audio controllers like our intel-hda.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

Applied, thanks!

> ---
>  hw/pci.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/hw/pci.c b/hw/pci.c
> index 6b577e1..87f1b0c 100644
> --- a/hw/pci.c
> +++ b/hw/pci.c
> @@ -1145,6 +1145,7 @@ static const pci_class_desc pci_class_descriptions[] =
>      { 0x0400, "Video controller", "video"},
>      { 0x0401, "Audio controller", "sound"},
>      { 0x0402, "Phone"},
> +    { 0x0403, "Audio controller", "sound"},
>      { 0x0480, "Multimedia controller"},
>      { 0x0500, "RAM controller", "memory"},
>      { 0x0501, "Flash controller", "flash"},
> -- 
> 1.7.1

Patch

diff --git a/hw/pci.c b/hw/pci.c
index 6b577e1..87f1b0c 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -1145,6 +1145,7 @@  static const pci_class_desc pci_class_descriptions[] =
     { 0x0400, "Video controller", "video"},
     { 0x0401, "Audio controller", "sound"},
     { 0x0402, "Phone"},
+    { 0x0403, "Audio controller", "sound"},
     { 0x0480, "Multimedia controller"},
     { 0x0500, "RAM controller", "memory"},
     { 0x0501, "Flash controller", "flash"},