diff options
Diffstat (limited to 'sound/isa/opti9xx/opti92x-ad1848.c')
-rw-r--r-- | sound/isa/opti9xx/opti92x-ad1848.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sound/isa/opti9xx/opti92x-ad1848.c b/sound/isa/opti9xx/opti92x-ad1848.c index 049d479ce2b3..ee1a824d8fc0 100644 --- a/sound/isa/opti9xx/opti92x-ad1848.c +++ b/sound/isa/opti9xx/opti92x-ad1848.c | |||
@@ -501,6 +501,16 @@ static int __devinit snd_opti9xx_configure(struct snd_opti9xx *chip) | |||
501 | (chip->hardware == OPTi9XX_HW_82C930 ? 0x00 : 0x04), | 501 | (chip->hardware == OPTi9XX_HW_82C930 ? 0x00 : 0x04), |
502 | 0x34); | 502 | 0x34); |
503 | snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(5), 0x20, 0xbf); | 503 | snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(5), 0x20, 0xbf); |
504 | /* | ||
505 | * The BTC 1817DW has QS1000 wavetable which is connected | ||
506 | * to the serial digital input of the OPTI931. | ||
507 | */ | ||
508 | snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(21), 0x82, 0xff); | ||
509 | /* | ||
510 | * This bit sets OPTI931 to automaticaly select FM | ||
511 | * or digital input signal. | ||
512 | */ | ||
513 | snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(26), 0x01, 0x01); | ||
504 | break; | 514 | break; |
505 | #endif /* OPTi93X */ | 515 | #endif /* OPTi93X */ |
506 | 516 | ||
@@ -1732,11 +1742,11 @@ static int __devinit snd_card_opti9xx_pnp(struct snd_opti9xx *chip, | |||
1732 | 1742 | ||
1733 | #ifdef OPTi93X | 1743 | #ifdef OPTi93X |
1734 | port = pnp_port_start(pdev, 0) - 4; | 1744 | port = pnp_port_start(pdev, 0) - 4; |
1735 | fm_port = pnp_port_start(pdev, 1); | 1745 | fm_port = pnp_port_start(pdev, 1) + 8; |
1736 | #else | 1746 | #else |
1737 | if (pid->driver_data != 0x0924) | 1747 | if (pid->driver_data != 0x0924) |
1738 | port = pnp_port_start(pdev, 1); | 1748 | port = pnp_port_start(pdev, 1); |
1739 | fm_port = pnp_port_start(pdev, 2); | 1749 | fm_port = pnp_port_start(pdev, 2) + 8; |
1740 | #endif /* OPTi93X */ | 1750 | #endif /* OPTi93X */ |
1741 | irq = pnp_irq(pdev, 0); | 1751 | irq = pnp_irq(pdev, 0); |
1742 | dma1 = pnp_dma(pdev, 0); | 1752 | dma1 = pnp_dma(pdev, 0); |