#include <stdarg.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/videodev2.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ioctl.h>
#include "radio-isa.h"
Go to the source code of this file.
|
| | MODULE_AUTHOR ("Eric Lammerts, Russell Kroll, Quay Lu, Donald Song, Jason Lewis, Scott McGrath, William McGrath") |
| |
| | MODULE_DESCRIPTION ("A driver for the Trust FM Radio card.") |
| |
| | MODULE_LICENSE ("GPL") |
| |
| | MODULE_VERSION ("0.1.99") |
| |
| | module_param_array (io, int, NULL, 0444) |
| |
| | MODULE_PARM_DESC (io,"I/O addresses of the Trust FM Radio card (0x350 or 0x358)") |
| |
| | module_param_array (radio_nr, int, NULL, 0444) |
| |
| | MODULE_PARM_DESC (radio_nr,"Radio device numbers") |
| |
| | module_init (trust_init) |
| |
| | module_exit (trust_exit) |
| |
| #define CONFIG_RADIO_TRUST_PORT -1 |
| #define TDA7318_ADDR 0x88 |
| #define TR_CLR_SCL outb(tr->ioval &= 0xfd, tr->isa.io) |
| #define TR_CLR_SDA outb(tr->ioval &= 0xfe, tr->isa.io) |
| #define TSA6060T_ADDR 0xc4 |
| MODULE_AUTHOR |
( |
"Eric |
Lammerts, |
|
|
Russell |
Kroll, |
|
|
Quay |
Lu, |
|
|
Donald |
Song, |
|
|
Jason |
Lewis, |
|
|
Scott |
McGrath, |
|
|
William McGrath" |
|
|
) |
| |
| module_exit |
( |
trust_exit |
| ) |
|
| module_init |
( |
trust_init |
| ) |
|
| module_param_array |
( |
io |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0444 |
|
|
) |
| |
| module_param_array |
( |
radio_nr |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0444 |
|
|
) |
| |
| MODULE_PARM_DESC |
( |
io |
, |
|
|
"I/O addresses of the Trust FM Radio card (0x350 or 0x358)" |
|
|
) |
| |
| MODULE_PARM_DESC |
( |
radio_nr |
, |
|
|
"Radio device numbers" |
|
|
) |
| |
| MODULE_VERSION |
( |
"0.1.99" |
| ) |
|