#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <asm/io.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <media/dmxdev.h>
#include <media/dvbdev.h>
#include <media/dvb_demux.h>
#include <media/dvb_frontend.h>
#include <media/dvb_net.h>
#include "mantis_common.h"
#include "mantis_reg.h"
#include "mantis_uart.h"
#include "mantis_input.h"
struct mantis_uart_params { … };
static struct { … } rates[5] = …;
static struct { … } parity[3] = …;
static void mantis_uart_read(struct mantis_pci *mantis)
{ … }
static void mantis_uart_work(struct work_struct *work)
{ … }
static int mantis_uart_setup(struct mantis_pci *mantis,
struct mantis_uart_params *params)
{ … }
int mantis_uart_init(struct mantis_pci *mantis)
{ … }
EXPORT_SYMBOL_GPL(…);
void mantis_uart_exit(struct mantis_pci *mantis)
{ … }
EXPORT_SYMBOL_GPL(…);