summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-08-10 17:01:28 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-08-10 17:01:28 +0000
commitabd770a29b452f46cbb39ecab21eaf344c396886 (patch)
treea67edb7bf40a9eeffae9f6cdce245bee018f4246 /linux/drivers/media/video/cx88/cx88.h
parent13b0451e74c15685fd30e0f8efdb86604986aa66 (diff)
downloadmediapointer-dvb-s2-abd770a29b452f46cbb39ecab21eaf344c396886.tar.gz
mediapointer-dvb-s2-abd770a29b452f46cbb39ecab21eaf344c396886.tar.bz2
* Make.config, Make
- Added support for future alsa support, yet to be finished. * bt87x-alsa.c: - bt87x.c that is inside ALSA tree. Yet to make it compile from here. * cx88-alsa.c,cx88.h: - cx88 ALSA skeleton. It is not yet working. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88.h')
-rw-r--r--linux/drivers/media/video/cx88/cx88.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/linux/drivers/media/video/cx88/cx88.h b/linux/drivers/media/video/cx88/cx88.h
index 77b05b18a..72f578bf6 100644
--- a/linux/drivers/media/video/cx88/cx88.h
+++ b/linux/drivers/media/video/cx88/cx88.h
@@ -1,5 +1,5 @@
/*
- * $Id: cx88.h,v 1.70 2005/07/24 17:44:09 mkrufky Exp $
+ * $Id: cx88.h,v 1.71 2005/08/10 17:01:28 mchehab Exp $
*
* v4l2 device driver for cx2388x based TV cards
*
@@ -49,6 +49,9 @@
#define CX88_MAXBOARDS 8
+/* Max number of inputs by card */
+#define MAX_CX88_INPUT 8
+
/* ----------------------------------------------------------- */
/* defines and enums */
@@ -203,7 +206,7 @@ struct cx88_board {
unsigned char tuner_addr;
unsigned char radio_addr;
int tda9887_conf;
- struct cx88_input input[8];
+ struct cx88_input input[MAX_CX88_INPUT];
struct cx88_input radio;
int blackbird:1;
int dvb:1;
@@ -365,14 +368,8 @@ struct cx8800_dev {
/* ----------------------------------------------------------- */
/* function 1: audio/alsa stuff */
+/* =============> moved to cx88-alsa.c <====================== */
-struct cx8801_dev {
- struct cx88_core *core;
-
- /* pci i/o */
- struct pci_dev *pci;
- unsigned char pci_rev,pci_lat;
-};
/* ----------------------------------------------------------- */
/* function 2: mpeg stuff */