Re: [PATCH] cs5536 ID for cs5535audio
From: Jiri Slaby
Date: Wed Dec 14 2005 - 17:00:44 EST
Renà Rebe napsal(a):
> Hi all,
>
> relative to 2.6.15-rc5-mm2 / alsa-cvs, works for me:
>
> Added AMD CS5536 to the cs5535audio driver.
>
> Signed-off-by: Renà Rebe <rene@xxxxxxxxxxxx>
>
> --- sound/pci/cs5535audio/cs5535audio.c.orig 2005-12-14 14:39:11.000000000 +0100
> +++ sound/pci/cs5535audio/cs5535audio.c 2005-12-14 14:29:23.000000000 +0100
> @@ -46,8 +46,10 @@
> static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
>
> static struct pci_device_id snd_cs5535audio_ids[] = {
> - { PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_CS5535_AUDIO, PCI_ANY_ID,
> - PCI_ANY_ID, 0, 0, 0, },
> + { PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_CS5535_AUDIO,
> + PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },
> + { PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_AUDIO,
> + PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },
Seems like a PCI_DEVICE() candidate
regards,
--
Jiri Slaby www.fi.muni.cz/~xslaby
~\-/~ jirislaby@xxxxxxxxx ~\-/~
B67499670407CE62ACC8 22A032CC55C339D47A7E
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/