Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
sclp_vt220.c File Reference
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <linux/wait.h>
#include <linux/timer.h>
#include <linux/kernel.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/errno.h>
#include <linux/mm.h>
#include <linux/major.h>
#include <linux/console.h>
#include <linux/kdev_t.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/reboot.h>
#include <linux/slab.h>
#include <asm/uaccess.h>
#include "sclp.h"

Go to the source code of this file.

Data Structures

struct  sclp_vt220_request
 
struct  sclp_vt220_sccb
 

Macros

#define SCLP_VT220_MAJOR   TTY_MAJOR
 
#define SCLP_VT220_MINOR   65
 
#define SCLP_VT220_DRIVER_NAME   "sclp_vt220"
 
#define SCLP_VT220_DEVICE_NAME   "ttysclp"
 
#define SCLP_VT220_CONSOLE_NAME   "ttyS"
 
#define SCLP_VT220_CONSOLE_INDEX   1 /* console=ttyS1 */
 
#define SCLP_VT220_MAX_CHARS_PER_BUFFER
 
#define SCLP_BUFFER_MAX_RETRY   1
 
#define SCLP_NORMAL_WRITE   0x00
 
#define BUFFER_MAX_DELAY   HZ/20
 
#define SCLP_VT220_SESSION_ENDED   0x01
 
#define SCLP_VT220_SESSION_STARTED   0x80
 
#define SCLP_VT220_SESSION_DATA   0x00
 

Functions

 __initcall (sclp_vt220_tty_init)
 

Variables

struct sclp_vt220_request __attribute__
 

Macro Definition Documentation

#define BUFFER_MAX_DELAY   HZ/20

Definition at line 369 of file sclp_vt220.c.

#define SCLP_BUFFER_MAX_RETRY   1

Definition at line 150 of file sclp_vt220.c.

#define SCLP_NORMAL_WRITE   0x00

Definition at line 264 of file sclp_vt220.c.

#define SCLP_VT220_CONSOLE_INDEX   1 /* console=ttyS1 */

Definition at line 36 of file sclp_vt220.c.

#define SCLP_VT220_CONSOLE_NAME   "ttyS"

Definition at line 35 of file sclp_vt220.c.

#define SCLP_VT220_DEVICE_NAME   "ttysclp"

Definition at line 34 of file sclp_vt220.c.

#define SCLP_VT220_DRIVER_NAME   "sclp_vt220"

Definition at line 33 of file sclp_vt220.c.

#define SCLP_VT220_MAJOR   TTY_MAJOR

Definition at line 31 of file sclp_vt220.c.

#define SCLP_VT220_MAX_CHARS_PER_BUFFER
Value:
sizeof(struct sclp_vt220_request) - \
sizeof(struct sclp_vt220_sccb))

Definition at line 51 of file sclp_vt220.c.

#define SCLP_VT220_MINOR   65

Definition at line 32 of file sclp_vt220.c.

#define SCLP_VT220_SESSION_DATA   0x00

Definition at line 456 of file sclp_vt220.c.

#define SCLP_VT220_SESSION_ENDED   0x01

Definition at line 454 of file sclp_vt220.c.

#define SCLP_VT220_SESSION_STARTED   0x80

Definition at line 455 of file sclp_vt220.c.

Function Documentation

__initcall ( sclp_vt220_tty_init  )

Variable Documentation