summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
Diffstat (limited to 'v4l')
-rw-r--r--v4l/compat.h75
-rw-r--r--v4l/versions.txt229
2 files changed, 0 insertions, 304 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index b59d0ed04..d32806e9b 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -39,19 +39,6 @@
# define I2C_M_IGNORE_NAK 0x1000
#endif
-/* vm_insert_page() was added in 2.6.15 */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15) && defined(_LINUX_MM_H)
-static inline int vm_insert_page(struct vm_area_struct *vma,
- unsigned long addr, struct page *page)
-{
- return remap_pfn_range(vma, addr, page_to_pfn(page), PAGE_SIZE,
- vma->vm_page_prot);
-}
-#endif
-
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)
-# define class_device_create(a, b, c, d, e, f, g, h) class_device_create(a, c, d, e, f, g, h)
-#endif
/* device_create/destroy added in 2.6.18 */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
/* on older kernels, class_device_create will in turn be a compat macro */
@@ -59,42 +46,6 @@ static inline int vm_insert_page(struct vm_area_struct *vma,
# define device_destroy(a, b) class_device_destroy(a, b)
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)
-# define input_allocate_device() kzalloc(sizeof(struct input_dev),GFP_KERNEL);
-# define input_free_device(input_dev) kfree(input_dev)
-# ifdef _INPUT_H /* input.h must be included _before_ compat.h for this to work */
- /* input_register_device() was changed to return an error code in 2.6.15 */
-# define input_register_device(x) (input_register_device(x), 0)
-# endif
-#endif
-
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15)
-#define DEFINE_MUTEX(a) DECLARE_MUTEX(a)
-#define mutex_lock_interruptible(a) down_interruptible(a)
-#define mutex_unlock(a) up(a)
-#define mutex_lock(a) down(a)
-#define mutex_init(a) init_MUTEX(a)
-#define mutex_trylock(a) down_trylock(a)
-#endif
-
-/* New 4GB DMA zone was added in 2.6.15-rc2 */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)
-# define __GFP_DMA32 __GFP_DMA
-#endif
-
-/* setup_timer() helper added 10/31/05, 2.6.15-rc1 */
-/* Need linux/timer.h to be included for struct timer_list */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15) && defined(_LINUX_TIMER_H)
-static inline void setup_timer(struct timer_list * timer,
- void (*function)(unsigned long),
- unsigned long data)
-{
- timer->function = function;
- timer->data = data;
- init_timer(timer);
-}
-#endif
-
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
#define IRQF_SHARED SA_SHIRQ
#define IRQF_DISABLED SA_INTERRUPT
@@ -136,32 +87,6 @@ static inline u8 v4l_compat_pci_rev(struct pci_dev *pci)
{ u8 rev; pci_read_config_byte(pci, PCI_REVISION_ID, &rev); return rev; }
#endif
-/* ALSA removed a bunch of typedefs and renamed some structs in 2.6.16 */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
-# ifdef __SOUND_CORE_H
-# define snd_card _snd_card /* struct _snd_card became struct snd_card */
-# define snd_pcm _snd_pcm
-# undef snd_device
-# define snd_device _snd_device
-# endif
-# ifdef __SOUND_PCM_H
-# define snd_pcm_substream _snd_pcm_substream
-# define snd_pcm_hardware _snd_pcm_hardware
-# define snd_pcm_runtime _snd_pcm_runtime
-# define snd_pcm_ops _snd_pcm_ops
-# endif
-# ifdef __SOUND_ASOUND_H
-# define snd_pcm_hw_params sndrv_pcm_hw_params
-# define snd_ctl_elem_info sndrv_ctl_elem_info
-# define snd_ctl_elem_value sndrv_ctl_elem_value
-# endif
-# ifdef __SOUND_CONTROL_H
-# undef snd_kcontrol
-# define snd_kcontrol _snd_kcontrol
-# define snd_kcontrol_new _snd_kcontrol_new
-# endif
-#endif
-
#if defined(COMPAT_PCM_TO_RATE_BIT) && defined(__SOUND_PCM_H)
/* New alsa core utility function */
static inline unsigned int snd_pcm_rate_to_rate_bit(unsigned int rate)
diff --git a/v4l/versions.txt b/v4l/versions.txt
index a31b8ca56..086403c33 100644
--- a/v4l/versions.txt
+++ b/v4l/versions.txt
@@ -34,232 +34,3 @@ VIDEO_PVRUSB2_SYSFS
# DVB_CORE_ATTACH relies on symbol_put_addr which hangs pre-2.6.17
[2.6.17]
DVB_CORE_ATTACH
-
-# Those are architecture-dependent
-[2.6.16]
-VIDEO_VINO
-VIDEO_M32R_AR_M64278
-# Not tested with versions bellow 2.6.16
-VIDEO_OV7670
-
-# Changes in struct i2c_driver, i2c_add_driver()
-[2.6.16]
-VIDEO_ZORAN_BUZ
-VIDEO_ZORAN_DC10
-VIDEO_ZORAN_DC30
-VIDEO_ZORAN_LML33
-VIDEO_ZORAN_LML33R10
-VIDEO_ZORAN_AVS6EYES
-VIDEO_ZORAN_ZR36060
-VIDEO_SAA5246A
-VIDEO_SAA5249
-VIDEO_MXB
-VIDEO_DPC
-VIDEO_OVCAMCHIP
-TUNER_3036
-TUNER_XC2028
-
-# Changes to usb_input.h, struct input_dev
-[2.6.15]
-
-# Uses vm_insert_page()
-[2.6.15]
-
-# Uses struct device
-[2.6.13]
-USB_ET61X251
-USB_SN9C102
-USB_OV511
-USB_PWC
-USB_PWC_DEBUG
-USB_STV680
-VIDEO_PVRUSB2
-VIDEO_PVRUSB2_24XXX
-VIDEO_PVRUSB2_DEBUGIFC
-VIDEO_USBVISION
-
-[2.6.11]
-VIDEO_VIVI
-VIDEO_DEV
-VIDEO_V4L1
-VIDEO_V4L2
-VIDEO_V4L1_COMPAT
-VIDEO_ADV_DEBUG
-VIDEO_BT848
-VIDEO_BT848_DVB
-VIDEO_SAA6588
-VIDEO_CPIA2
-VIDEO_SAA7134
-VIDEO_SAA7134_ALSA
-VIDEO_SAA7134_OSS
-VIDEO_SAA7134_DVB
-VIDEO_SAA7134_DVB_ALL_FRONTENDS
-VIDEO_SAA7134_DVB_MT352
-VIDEO_SAA7134_DVB_TDA1004X
-VIDEO_SAA7134_DVB_NXT200X
-VIDEO_HEXIUM_ORION
-VIDEO_HEXIUM_GEMINI
-VIDEO_CX88_VP3054
-VIDEO_CX88
-VIDEO_CX88_ALSA
-VIDEO_CX88_BLACKBIRD
-VIDEO_CX88_DVB
-VIDEO_CX88_DVB_ALL_FRONTENDS
-VIDEO_CX88_DVB_MT352
-VIDEO_CX88_DVB_VP3054
-VIDEO_CX88_DVB_ZL10353
-VIDEO_CX88_DVB_OR51132
-VIDEO_CX88_DVB_CX22702
-VIDEO_CX88_DVB_LGDT330X
-VIDEO_CX88_DVB_NXT200X
-VIDEO_CX88_DVB_CX24123
-VIDEO_CX23885
-VIDEO_MSP3400
-VIDEO_CS5345
-VIDEO_CS53L32A
-VIDEO_M52790
-VIDEO_WM8775
-VIDEO_WM8739
-VIDEO_VP27SMPX
-VIDEO_CX25840
-VIDEO_SAA711X
-VIDEO_SAA717X
-VIDEO_SAA7127
-VIDEO_UPD64031A
-VIDEO_UPD64083
-VIDEO_IVTV
-VIDEO_CX18
-VIDEO_EM28XX
-VIDEO_AU0828
-DVB
-DVB_CORE
-DVB_AV7110
-DVB_AV7110_FIRMWARE
-DVB_AV7110_FIRMWARE_FILE
-DVB_AV7110_OSD
-DVB_BUDGET
-DVB_BUDGET_CI
-DVB_BUDGET_AV
-DVB_BUDGET_PATCH
-DVB_USB
-DVB_USB_DEBUG
-DVB_USB_A800
-DVB_USB_DIBUSB_MB
-DVB_USB_DIBUSB_MB_FAULTY
-DVB_USB_DIBUSB_MC
-DVB_USB_UMT_010
-DVB_USB_CXUSB
-DVB_USB_M920X
-DVB_USB_GL861
-DVB_USB_AU6610
-DVB_USB_DIGITV
-DVB_USB_VP7045
-DVB_USB_VP702X
-DVB_USB_NOVA_T_USB2
-DVB_USB_DTT200U
-DVB_USB_GP8PSK
-DVB_USB_TTUSB2
-DVB_TTUSB_BUDGET
-DVB_TTUSB_DEC
-DVB_CINERGYT2
-DVB_CINERGYT2_TUNING
-DVB_B2C2_FLEXCOP
-DVB_B2C2_FLEXCOP_PCI
-DVB_B2C2_FLEXCOP_USB
-DVB_B2C2_FLEXCOP_DEBUG
-DVB_BT8XX
-DVB_PLUTO2
-DVB_STV0299
-DVB_CX24110
-DVB_CX24123
-DVB_TDA8083
-DVB_MT312
-DVB_VES1X93
-DVB_S5H1420
-DVB_SP8870
-DVB_SP887X
-DVB_CX22700
-DVB_CX22702
-DVB_L64781
-DVB_TDA1004X
-DVB_NXT6000
-DVB_MT352
-DVB_ZL10353
-DVB_DIB3000MB
-DVB_DIB3000MC
-DVB_DIB7000M
-DVB_DIB7000P
-DVB_VES1820
-DVB_TDA10021
-DVB_STV0297
-DVB_NXT200X
-DVB_OR51211
-DVB_OR51132
-DVB_BCM3510
-DVB_LGDT330X
-DVB_S5H1409
-DVB_TUNER_XC5000
-DVB_LNBP21
-DVB_ISL6421
-DVB_TUNER_MT2060
-DVB_TUNER_MT2131
-DVB_TDA827X
-DVB_TDA18271
-DVB_AU8522
-DVB_TDA10048
-DVB_S5H1411
-VIDEO_SAA7146
-VIDEO_SAA7146_VV
-VIDEO_TUNER
-VIDEO_BTCX
-VIDEO_IR
-VIDEO_TVEEPROM
-VIDEO_CX2341X
-VIDEO_USBVIDEO
-TUNER_MT20XX
-TUNER_TDA8290
-TUNER_TEA5761
-TUNER_TEA5767
-TUNER_SIMPLE
-USB_VICAM
-USB_IBMCAM
-VIDEO_TLV320AIC23B
-VIDEO_ZORAN
-VIDEO_BWQCAM
-VIDEO_CQCAM
-VIDEO_W9966
-VIDEO_PMS
-VIDEO_STRADIS
-VIDEO_CPIA
-VIDEO_CPIA_PP
-VIDEO_CPIA_USB
-VIDEO_MEYE
-USB_DABUSB
-USB_DSBR
-USB_SE401
-USB_W9968CF
-VIDEO_M32R_AR
-RADIO_CADET
-RADIO_RTRACK
-RADIO_RTRACK2
-RADIO_AZTECH
-RADIO_GEMTEK
-RADIO_GEMTEK_PCI
-RADIO_MAXIRADIO
-RADIO_MAESTRO
-RADIO_MIROPCM20
-RADIO_MIROPCM20_RDS
-RADIO_SF16FMI
-RADIO_SF16FMR2
-RADIO_TERRATEC
-RADIO_TRUST
-RADIO_TYPHOON
-RADIO_TYPHOON_PROC_FS
-RADIO_ZOLTRIX
-VIDEO_SAA7110
-SOUND_ACI_MIXER
-USB_KONICAWC
-USB_QUICKCAM_MESSENGER
-USB_ZC0301
-USB_ZR364XX
-