#include <linux/module.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/ioport.h>
#include <linux/errno.h>
#include <linux/firmware.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/major.h>
#include <linux/string.h>
#include <linux/fcntl.h>
#include <linux/ptrace.h>
#include <linux/serial.h>
#include <linux/tty_driver.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/bitops.h>
#include <linux/slab.h>
#include <linux/ratelimit.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include "moxa.h"
Go to the source code of this file.
|
| MODULE_AUTHOR ("William Chen") |
|
| MODULE_DESCRIPTION ("MOXA Intellio Family Multiport Board Device Driver") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_FIRMWARE ("c218tunx.cod") |
|
| MODULE_FIRMWARE ("cp204unx.cod") |
|
| MODULE_FIRMWARE ("c320tunx.cod") |
|
| module_param_array (type, uint, NULL, 0) |
|
| MODULE_PARM_DESC (type,"card type: C218=2, C320=4") |
|
| module_param_array (baseaddr, ulong, NULL, 0) |
|
| MODULE_PARM_DESC (baseaddr,"base address") |
|
| module_param_array (numports, uint, NULL, 0) |
|
| MODULE_PARM_DESC (numports,"numports (ignored for C218)") |
|
| module_param (ttymajor, int, 0) |
|
| module_init (moxa_init) |
|
| module_exit (moxa_exit) |
|
#define MAX_BOARDS 4 /* Don't change this value */ |
#define MAX_PORTS_PER_BOARD 32 /* Don't change this value */ |
#define MOXA_BUS_TYPE_ISA 0 |
#define MOXA_BUS_TYPE_PCI 1 |
#define MOXA_FW_HDRLEN 32 |
#define MOXA_IS_320 |
( |
|
brd | ) |
|
Value:
Definition at line 64 of file moxa.c.
#define MOXA_VERSION "6.0k" |
#define SERIAL_DO_RESTART |
- Enumerator:
MOXA_BOARD_C218_PCI |
|
MOXA_BOARD_C218_ISA |
|
MOXA_BOARD_C320_PCI |
|
MOXA_BOARD_C320_ISA |
|
MOXA_BOARD_CP204J |
|
Definition at line 73 of file moxa.c.
MODULE_AUTHOR |
( |
"William Chen" |
| ) |
|
MODULE_DESCRIPTION |
( |
"MOXA Intellio Family Multiport Board Device Driver" |
| ) |
|
module_exit |
( |
moxa_exit |
| ) |
|
MODULE_FIRMWARE |
( |
"c218tunx.cod" |
| ) |
|
MODULE_FIRMWARE |
( |
"cp204unx.cod" |
| ) |
|
MODULE_FIRMWARE |
( |
"c320tunx.cod" |
| ) |
|
module_init |
( |
moxa_init |
| ) |
|
module_param |
( |
ttymajor |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param_array |
( |
baseaddr |
, |
|
|
ulong |
, |
|
|
NULL |
, |
|
|
0 |
|
|
) |
| |
module_param_array |
( |
numports |
, |
|
|
uint |
, |
|
|
NULL |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
type |
, |
|
|
"card type: |
C218 = 2 |
|
) |
| |
MODULE_PARM_DESC |
( |
baseaddr |
, |
|
|
"base address" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
numports |
, |
|
|
"numports (ignored for C218)" |
|
|
) |
| |