diff options
author | Steven Toth <stoth@kernellabs.com> | 2009-07-30 08:09:30 -0400 |
---|---|---|
committer | Steven Toth <stoth@kernellabs.com> | 2009-07-30 08:09:30 -0400 |
commit | b7acf78f1d46887f8612f17da98e0321fdc50634 (patch) | |
tree | b2c1cbc35730d7230cf2b941791a68a28bc64bad /linux/drivers/media/video/saa7164/saa7164-core.c | |
parent | eb6b48af2bdca59b38e532cb7a24ebb58dfe53ba (diff) | |
download | mediapointer-dvb-s2-b7acf78f1d46887f8612f17da98e0321fdc50634.tar.gz mediapointer-dvb-s2-b7acf78f1d46887f8612f17da98e0321fdc50634.tar.bz2 |
SAA7164: Added waitsecs module parameter
From: Steven Toth <stoth@kernellabs.com>
SAA7164: Added waitsecs module parameter
Priority: normal
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Diffstat (limited to 'linux/drivers/media/video/saa7164/saa7164-core.c')
-rw-r--r-- | linux/drivers/media/video/saa7164/saa7164-core.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/drivers/media/video/saa7164/saa7164-core.c b/linux/drivers/media/video/saa7164/saa7164-core.c index 6bb86abb9..59b2c0f6b 100644 --- a/linux/drivers/media/video/saa7164/saa7164-core.c +++ b/linux/drivers/media/video/saa7164/saa7164-core.c @@ -50,6 +50,10 @@ unsigned int debug; module_param(debug, int, 0644); MODULE_PARM_DESC(debug, "enable debug messages"); +unsigned int waitsecs = 1; +module_param(waitsecs, int, 0644); +MODULE_PARM_DESC(debug, "timeout on firmware messages"); + static unsigned int card[] = {[0 ... (SAA7164_MAXBOARDS - 1)] = UNSET }; module_param_array(card, int, NULL, 0444); MODULE_PARM_DESC(card, "card type"); @@ -713,6 +717,7 @@ static int __devinit saa7164_initdev(struct pci_dev *pci_dev, printk(KERN_ERR "%s() Unsupported board detected, " "registering without firmware\n", __func__); + printk(KERN_INFO "%s() waitsecs = %d\n", __func__, waitsecs); fail_fw: return 0; |