From cebd98855dacf877014ea8f47d069e5d60aaad63 Mon Sep 17 00:00:00 2001 From: Christopher Pascoe Date: Fri, 15 Oct 2004 13:15:26 +0000 Subject: Fix misplaced #endif which may cause problems with pinnaclesat cards. Print a message suggesting that a failure to find the DMA core for a card could be the result of having the ALSA bt87x audio driver loaded. --- linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'linux/drivers/media/dvb/bt8xx') diff --git a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c index b239065df..8cd16f73d 100644 --- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c +++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c @@ -231,6 +231,7 @@ static int dvb_bt8xx_probe(struct device *dev) case BTTV_PINNACLESAT: #ifdef BTTV_DVICO_DVBT_LITE case BTTV_DVICO_DVBT_LITE: +#endif card->gpio_mode = 0x0400C060; card->op_sync_orin = 0; card->irq_err_ignore = 0; @@ -238,7 +239,7 @@ static int dvb_bt8xx_probe(struct device *dev) * A_PWRDN DA_DPM DA_SBR DA_IOM_DA * DA_APP(parallel) */ break; -#endif + case BTTV_NEBULA_DIGITV: case BTTV_AVDVBT_761: card->gpio_mode = (1 << 26) | (1 << 14) | (1 << 5); @@ -288,7 +289,10 @@ static int dvb_bt8xx_probe(struct device *dev) } if (!(card->bt = dvb_bt8xx_878_match(card->bttv_nr, bttv_pci_dev))) { - printk("dvb_bt8xx: unable to determine DMA core of card %d\n", card->bttv_nr); + printk("dvb_bt8xx: unable to determine DMA core of card %d,\n", + card->bttv_nr); + printk("dvb_bt8xx: if you have the ALSA bt87x audio driver " + "installed, try removing it.\n"); kfree(card); return -EFAULT; -- cgit v1.2.3