ALSA: asihpi - Add ASI5200 family
authorEliot Blennerhassett <eblennerhassett@audioscience.com>
Mon, 5 Jul 2010 20:37:08 +0000 (08:37 +1200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 6 Jul 2010 06:19:35 +0000 (08:19 +0200)
Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/hpi6000.c

index 12dab5e..f7e374e 100644 (file)
@@ -687,6 +687,7 @@ static short hpi6000_adapter_boot_load_dsp(struct hpi_adapter_obj *pao,
        switch (pao->pci.subsys_device_id) {
        case 0x5100:
        case 0x5110:    /* ASI5100 revB or higher with C6711D */
+       case 0x5200:    /* ASI5200 PC_ie version of ASI5100 */
        case 0x6100:
        case 0x6200:
                boot_load_family = HPI_ADAPTER_FAMILY_ASI(0x6200);
@@ -1133,6 +1134,12 @@ static short hpi6000_adapter_boot_load_dsp(struct hpi_adapter_obj *pao,
                                                subsys_device_id) ==
                                        HPI_ADAPTER_FAMILY_ASI(0x5100))
                                        mask = 0x00000000L;
+                               /* ASI5200 uses AX6 code, */
+                               /* but has no PLD r/w register to test */
+                               if (HPI_ADAPTER_FAMILY_ASI(pao->pci.
+                                               subsys_device_id) ==
+                                       HPI_ADAPTER_FAMILY_ASI(0x5200))
+                                       mask = 0x00000000L;
                                break;
                        case HPI_ADAPTER_FAMILY_ASI(0x8800):
                                /* ASI8800 has 16bit path to FPGA */