#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.
|
| | 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_OPTIONS_SOFTDCD 1 |
| #define PAR96_BURSTBITS 16 |
| #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 */ |
| MODULE_AUTHOR |
( |
"Thomas M. |
Sailer, |
|
|
sailer @ife.ee.ethz. |
ch, |
|
|
hb9jnx @hb9w.che.eu" |
|
|
) |
| |
| MODULE_DESCRIPTION |
( |
"Baycom par96 and picpar amateur radio modem driver" |
| ) |
|
| module_exit |
( |
cleanup_baycompar |
| ) |
|
| module_init |
( |
init_baycompar |
| ) |
|
| module_param_array |
( |
mode |
, |
|
|
charp |
, |
|
|
NULL |
, |
|
|
0 |
|
|
) |
| |
| MODULE_PARM_DESC |
( |
mode |
, |
|
|
"baycom operating mode; eg. par96 or picpar" |
|
|
) |
| |