Mercurial > pt1.oyama
comparison driver/pt1_pci.c @ 69:272a8fba970b
added very rough support for PT2.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 26 Oct 2009 19:46:49 +0900 |
parents | 98a92ce5382e |
children | 3c2123189edf |
comparison
equal
deleted
inserted
replaced
68:440c13a0030b | 69:272a8fba970b |
---|---|
708 schedule_timeout_interruptible(msecs_to_jiffies(10)); | 708 schedule_timeout_interruptible(msecs_to_jiffies(10)); |
709 mutex_init(&dev_conf->lock); | 709 mutex_init(&dev_conf->lock); |
710 | 710 |
711 // Tuner 初期化処理 | 711 // Tuner 初期化処理 |
712 for(lp = 0 ; lp < MAX_TUNER ; lp++){ | 712 for(lp = 0 ; lp < MAX_TUNER ; lp++){ |
713 rc = tuner_init(dev_conf->regs, &dev_conf->lock, lp); | 713 rc = tuner_init(dev_conf->regs, dev_conf->cardtype, &dev_conf->lock, lp); |
714 if(rc < 0){ | 714 if(rc < 0){ |
715 printk(KERN_ERR "Error tuner_init\n"); | 715 printk(KERN_ERR "Error tuner_init\n"); |
716 goto out_err_fpga; | 716 goto out_err_fpga; |
717 } | 717 } |
718 } | 718 } |