Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/in.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/hdlcdrv.h>
#include <linux/baycom.h>
#include <linux/parport.h>
#include <linux/bitops.h>
#include <linux/jiffies.h>
#include <asm/uaccess.h>
Go to the source code of this file.
Data Structures | |
struct | baycom_state |
struct | baycom_state::modem_state |
struct | baycom_state::modem_state::modem_state_par96 |
struct | baycom_state::debug_vals |
Macros | |
#define | BAYCOM_DEBUG |
#define | BAYCOM_OPTIONS_SOFTDCD 1 |
#define | NR_PORTS 4 |
#define | PAR96_BURSTBITS 16 |
#define | PAR96_BURST 4 |
#define | PAR96_PTT 2 |
#define | PAR96_TXBIT 1 |
#define | PAR96_ACK 0x40 |
#define | PAR96_RXBIT 0x20 |
#define | PAR96_DCD 0x10 |
#define | PAR97_POWER 0xf8 |
#define | PAR96_DESCRAM_TAP1 0x20000 |
#define | PAR96_DESCRAM_TAP2 0x01000 |
#define | PAR96_DESCRAM_TAP3 0x00001 |
#define | PAR96_DESCRAM_TAPSH1 17 |
#define | PAR96_DESCRAM_TAPSH2 12 |
#define | PAR96_DESCRAM_TAPSH3 0 |
#define | PAR96_SCRAM_TAP1 0x20000 /* X^17 */ |
#define | PAR96_SCRAM_TAPN 0x00021 /* X^0+X^5 */ |
Functions | |
module_param_array (mode, charp, NULL, 0) | |
MODULE_PARM_DESC (mode,"baycom operating mode; eg. par96 or picpar") | |
module_param_array (iobase, int, NULL, 0) | |
MODULE_PARM_DESC (iobase,"baycom io base address") | |
MODULE_AUTHOR ("Thomas M. Sailer, [email protected], [email protected]") | |
MODULE_DESCRIPTION ("Baycom par96 and picpar amateur radio modem driver") | |
MODULE_LICENSE ("GPL") | |
module_init (init_baycompar) | |
module_exit (cleanup_baycompar) | |
__setup ("baycom_par=", baycom_par_setup) | |
#define BAYCOM_DEBUG |
Definition at line 93 of file baycom_par.c.
#define BAYCOM_OPTIONS_SOFTDCD 1 |
Definition at line 98 of file baycom_par.c.
#define NR_PORTS 4 |
Definition at line 108 of file baycom_par.c.
#define PAR96_ACK 0x40 |
Definition at line 118 of file baycom_par.c.
#define PAR96_BURST 4 |
Definition at line 115 of file baycom_par.c.
#define PAR96_BURSTBITS 16 |
Definition at line 114 of file baycom_par.c.
#define PAR96_DCD 0x10 |
Definition at line 120 of file baycom_par.c.
#define PAR96_DESCRAM_TAP1 0x20000 |
Definition at line 182 of file baycom_par.c.
#define PAR96_DESCRAM_TAP2 0x01000 |
Definition at line 183 of file baycom_par.c.
#define PAR96_DESCRAM_TAP3 0x00001 |
Definition at line 184 of file baycom_par.c.
#define PAR96_DESCRAM_TAPSH1 17 |
Definition at line 186 of file baycom_par.c.
#define PAR96_DESCRAM_TAPSH2 12 |
Definition at line 187 of file baycom_par.c.
#define PAR96_DESCRAM_TAPSH3 0 |
Definition at line 188 of file baycom_par.c.
#define PAR96_PTT 2 |
Definition at line 116 of file baycom_par.c.
#define PAR96_RXBIT 0x20 |
Definition at line 119 of file baycom_par.c.
#define PAR96_SCRAM_TAP1 0x20000 /* X^17 */ |
Definition at line 190 of file baycom_par.c.
#define PAR96_SCRAM_TAPN 0x00021 /* X^0+X^5 */ |
Definition at line 191 of file baycom_par.c.
#define PAR96_TXBIT 1 |
Definition at line 117 of file baycom_par.c.
#define PAR97_POWER 0xf8 |
Definition at line 121 of file baycom_par.c.
__setup | ( | ) |
MODULE_AUTHOR | ( | "Thomas M. | Sailer, |
sailer @ife.ee.ethz. | ch, | ||
hb9jnx @hb9w.che.eu" | |||
) |
module_exit | ( | cleanup_baycompar | ) |
module_init | ( | init_baycompar | ) |
MODULE_LICENSE | ( | "GPL" | ) |