#include <linux/module.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/if_arp.h>
#include <linux/in.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/netdevice.h>
#include <linux/slab.h>
#include <linux/rtnetlink.h>
#include <linux/sockios.h>
#include <linux/workqueue.h>
#include <linux/atomic.h>
#include <asm/dma.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/uaccess.h>
#include <net/ax25.h>
#include "z8530.h"
Go to the source code of this file.
#define BUF_SIZE 1576 /* BUF_SIZE >= mtu + hard_header_len */ |
Value:{ "Ottawa PI", 0x300, 0x20, 0x10, 8, \
0, 8, 1843200, 3686400 }
Definition at line 57 of file dmascc.c.
Value:{ "Ottawa PI2", 0x300, 0x20, 0x10, 8, \
0, 8, 3686400, 7372800 }
Definition at line 59 of file dmascc.c.
Value:{ "S5SCC/DMA", 0x200, 0x10, 0x10, 32, \
0, 8, 4915200, 9830400 }
Definition at line 63 of file dmascc.c.
Value:{ "Gracilis PackeTwin", 0x200, 0x10, 0x10, 32, \
0, 4, 6144000, 6144000 }
Definition at line 61 of file dmascc.c.
#define NUM_RX_BUF 6 /* NUM_RX_BUF >= 1 (min. 2 recommended) */ |
#define NUM_TX_BUF 2 /* NUM_TX_BUF >= 1 (min. 2 recommended) */ |
#define PI_DREQ_MASK 0x04 |
#define TMR_0_HZ 25600 /* Frequency of timer 0 */ |
#define TWIN_CLR_TMR1 0x09 |
#define TWIN_CLR_TMR2 0x0a |
#define TWIN_DMA_CFG 0x08 |
#define TWIN_DMA_CLR_FF 0x0a |
#define TWIN_DMA_FDX_T1R3 0x1d |
#define TWIN_DMA_FDX_T3R1 0x1b |
#define TWIN_DMA_HDX_R1 0x0a |
#define TWIN_DMA_HDX_R3 0x16 |
#define TWIN_DMA_HDX_T1 0x08 |
#define TWIN_DMA_HDX_T3 0x14 |
#define TWIN_DTRA_ON 0x01 |
#define TWIN_DTRB_ON 0x02 |
#define TWIN_EXTCLKA 0x04 |
#define TWIN_EXTCLKB 0x08 |
#define TWIN_INT_MSK 0x07 |
#define TWIN_INT_REG 0x08 |
#define TWIN_LOOPA_ON 0x10 |
#define TWIN_LOOPB_ON 0x20 |
#define TWIN_SCC_MSK 0x01 |
#define TWIN_SERIAL_CFG 0x09 |
#define TWIN_SPARE_1 0x0b |
#define TWIN_SPARE_2 0x0b |
#define TWIN_TMR1_MSK 0x02 |
#define TWIN_TMR2_MSK 0x04 |
MODULE_AUTHOR |
( |
"Klaus Kudielka" |
| ) |
|
module_exit |
( |
dmascc_exit |
| ) |
|
module_init |
( |
dmascc_init |
| ) |
|