V4L/DVB (9491): rationalise addresses to one common one
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / media / radio / radio-gemtek.c
CommitLineData
1da177e4
LT
1/* GemTek radio card driver for Linux (C) 1998 Jonas Munsin <jmunsin@iki.fi>
2 *
3 * GemTek hasn't released any specs on the card, so the protocol had to
4 * be reverse engineered with dosemu.
5 *
6 * Besides the protocol changes, this is mostly a copy of:
7 *
8 * RadioTrack II driver for Linux radio support (C) 1998 Ben Pfaff
4286c6f6 9 *
1da177e4 10 * Based on RadioTrack I/RadioReveal (C) 1997 M. Kirkwood
d9b01449 11 * Converted to new API by Alan Cox <alan@lxorguk.ukuu.org.uk>
1da177e4
LT
12 * Various bugfixes and enhancements by Russell Kroll <rkroll@exploits.org>
13 *
14 * TODO: Allow for more than one of these foolish entities :-)
15 *
d1c4ecde 16 * Converted to V4L2 API by Mauro Carvalho Chehab <mchehab@infradead.org>
1da177e4
LT
17 */
18
19#include <linux/module.h> /* Modules */
20#include <linux/init.h> /* Initdata */
fb911ee8 21#include <linux/ioport.h> /* request_region */
1da177e4
LT
22#include <linux/delay.h> /* udelay */
23#include <asm/io.h> /* outb, outb_p */
24#include <asm/uaccess.h> /* copy to/from user */
d1c4ecde 25#include <linux/videodev2.h> /* kernel radio structs */
35ea11ff 26#include <media/v4l2-ioctl.h>
5e87efa3 27#include <media/v4l2-common.h>
1da177e4
LT
28#include <linux/spinlock.h>
29
4753647e
PS
30#include <linux/version.h> /* for KERNEL_VERSION MACRO */
31#define RADIO_VERSION KERNEL_VERSION(0,0,3)
32#define RADIO_BANNER "GemTek Radio card driver: v0.0.3"
d1c4ecde 33
4753647e
PS
34/*
35 * Module info.
36 */
37
38