[alsa-devel] [PATCH V2 13/16] ALSA: HDA: Make hda sound card usable for Loongson.
clemens at ladisch.de
Tue Jun 19 11:09:41 CEST 2012
Huacai Chen wrote:
> 1, Use 32-bit DMA as a workaround (Loongson has a hardware bug that it
> doesn't support DMA address above 4GB).
> 2, Modify patch_conexant.c to add Lemote specific code.
Please create separate patches for these two changes.
> +++ b/include/linux/pci_ids.h
> @@ -2906,3 +2906,5 @@
> #define PCI_DEVICE_ID_XEN_PLATFORM 0x0001
> #define PCI_VENDOR_ID_OCZ 0x1b85
> +#define PCI_VENDOR_ID_LEMOTE 0x1c06
AFAICS this symbol is not used in this patch.
> +#ifdef CONFIG_CPU_LOONGSON3
> + /* Workaround: Loongson 3 doesn't support 64-bit DMA */
> + gcap &= ~ICH6_GCAP_64OK;
/* Workaround: Loongson 3 doesn't actually support 64-bit DMA */
More information about the Alsa-devel