X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fmedia%2Fvideo%2Fzoran.h;fp=drivers%2Fmedia%2Fvideo%2Fzoran.h;h=9fe6ad3b6352ee9f3462ea84f5daabe7b574e3bc;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=8fb4a3414e0a7441d0f13ca3749bc551051447d1;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/drivers/media/video/zoran.h b/drivers/media/video/zoran.h index 8fb4a3414..9fe6ad3b6 100644 --- a/drivers/media/video/zoran.h +++ b/drivers/media/video/zoran.h @@ -1,4 +1,4 @@ -/* +/* * zoran - Iomega Buz driver * * Copyright (C) 1999 Rainer Johanni @@ -159,7 +159,7 @@ Private IOCTL to set up for displaying MJPEG #define BUZ_MAX_FRAME 256 /* Must be a power of 2 */ #define BUZ_MASK_FRAME 255 /* Must be BUZ_MAX_FRAME-1 */ -#define BUZ_MAX_INPUT 16 +#define BUZ_MAX_INPUT 8 #if VIDEO_MAX_FRAME <= 32 # define V4L_MAX_FRAME 32 @@ -191,9 +191,6 @@ enum card_type { /* Iomega */ BUZ, - /* AverMedia */ - AVS6EYES, - /* total number of cards */ NUM_CARDS }; @@ -267,7 +264,7 @@ struct zoran_v4l_settings { }; /* whoops, this one is undeclared if !v4l2 */ -#ifndef CONFIG_VIDEO_V4L2 +#ifndef HAVE_V4L2 struct v4l2_jpegcompression { int quality; int APPn; @@ -382,9 +379,6 @@ struct card_info { /* is the /GWS line conected? */ u8 gws_not_connected; - /* avs6eyes mux setting */ - u8 input_mux; - void (*init) (struct zoran * zr); }; @@ -401,7 +395,7 @@ struct zoran { struct videocodec *codec; /* video codec */ struct videocodec *vfe; /* video front end */ - struct mutex resource_lock; /* prevent evil stuff */ + struct semaphore resource_lock; /* prevent evil stuff */ u8 initialized; /* flag if zoran has been correctly initalized */ int user; /* number of current users */