Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/if.h>
#include <linux/skbuff.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/serial.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include "pc300.h"
Go to the source code of this file.
Data Structures | |
struct | _st_cpc_rx_buf |
struct | st_cpc_rx_list |
struct | _st_cpc_tty_area |
Macros | |
#define | CPC_TTY_NPORTS 8 /* maximum number of the sync tty connections */ |
#define | CPC_TTY_MAJOR CYCLADES_MAJOR |
#define | CPC_TTY_MINOR_START 240 /* minor of the first PC300 interface */ |
#define | CPC_TTY_MAX_MTU 2000 |
#define | CPC_TTY_ST_IDLE 0 |
#define | CPC_TTY_ST_INIT 1 /* configured with MLPPP and up */ |
#define | CPC_TTY_ST_OPEN 2 /* opened by application */ |
#define | CPC_TTY_LOCK(card, flags) |
#define | CPC_TTY_UNLOCK(card, flags) |
#define | CPC_TTY_DBG(format, a...) |
Typedefs | |
typedef struct _st_cpc_rx_buf | st_cpc_rx_buf |
typedef struct _st_cpc_tty_area | st_cpc_tty_area |
Functions | |
void | cpc_tty_init (pc300dev_t *dev) |
void | cpc_tty_unregister_service (pc300dev_t *pc300dev) |
void | cpc_tty_receive (pc300dev_t *pc300dev) |
void | cpc_tty_trigger_poll (pc300dev_t *pc300dev) |
#define CPC_TTY_DBG | ( | format, | |
a... | |||
) |
Definition at line 83 of file pc300_tty.c.
Definition at line 72 of file pc300_tty.c.
#define CPC_TTY_MAJOR CYCLADES_MAJOR |
Definition at line 62 of file pc300_tty.c.
#define CPC_TTY_MAX_MTU 2000 |
Definition at line 65 of file pc300_tty.c.
Definition at line 63 of file pc300_tty.c.
Definition at line 61 of file pc300_tty.c.
#define CPC_TTY_ST_IDLE 0 |
Definition at line 68 of file pc300_tty.c.
#define CPC_TTY_ST_INIT 1 /* configured with MLPPP and up */ |
Definition at line 69 of file pc300_tty.c.
#define CPC_TTY_ST_OPEN 2 /* opened by application */ |
Definition at line 70 of file pc300_tty.c.
Definition at line 77 of file pc300_tty.c.
typedef struct _st_cpc_rx_buf st_cpc_rx_buf |
typedef struct _st_cpc_tty_area st_cpc_tty_area |
void cpc_tty_init | ( | pc300dev_t * | dev | ) |
Definition at line 203 of file pc300_tty.c.
void cpc_tty_receive | ( | pc300dev_t * | pc300dev | ) |
Definition at line 737 of file pc300_tty.c.
void cpc_tty_trigger_poll | ( | pc300dev_t * | pc300dev | ) |
Definition at line 1072 of file pc300_tty.c.
void cpc_tty_unregister_service | ( | pc300dev_t * | pc300dev | ) |
Definition at line 1028 of file pc300_tty.c.