1
/* $Id: em8300_params.h,v 1.1 2007/03/02 23:00:35 nboullis Exp $
3
* em8300_params.h -- parameters for the em8300 driver
4
* Copyright (C) 2007 Nicolas Boullis <nboullis@debian.org>
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version 2
9
* of the License, or (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21
#ifndef _EM8300_PARAMS_H
22
#define _EM8300_PARAMS_H
24
#include <linux/version.h>
26
/* Major number used by the driver */
29
/* Card-model-dependant parameters */
30
extern int use_bt865[];
31
extern int dicom_other_pal[];
32
extern int dicom_fix[];
33
extern int dicom_control[];
34
extern int bt865_ucode_timeout[];
35
extern int activate_loopback[];
37
/* Audio driver used by the driver:
38
- OSS means OSS-compatible /dev/em8300_ma + /dev/dsp (old behavior)
39
- OSSLIKE means OSS-compatible /dev/em8300_ma only
40
- ALSA means ALSA /dev/snd
51
extern audio_driver_t audio_driver_nr[];
53
/* Number of the /dev/dsp device to allocate (only used with the OSS audio
56
#if defined(CONFIG_SOUND) || defined(CONFIG_SOUND_MODULE)
60
/* Number and name of the ALSA card to allocate (only used with the ALSA audio
63
#if defined(CONFIG_SND) || defined(CONFIG_SND_MODULE)
64
extern int alsa_index[];
65
extern char *alsa_id[];
68
/* Option to disable the video output when there is nothing to display */
69
extern int stop_video[];
71
/* Initialization function */
72
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)
73
extern void em8300_params_init(void);
75
static inline void em8300_params_init(void)
80
#endif /* _EM8300_PARAMS_H */