Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
zs.c File Reference
#include <linux/bug.h>
#include <linux/console.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/irqflags.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/major.h>
#include <linux/serial.h>
#include <linux/serial_core.h>
#include <linux/spinlock.h>
#include <linux/sysrq.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/types.h>
#include <linux/atomic.h>
#include <asm/dec/interrupts.h>
#include <asm/dec/ioasic_addrs.h>
#include <asm/dec/system.h>
#include "zs.h"

Go to the source code of this file.

Data Structures

struct  zs_parms
 

Macros

#define ZS_NUM_SCCS   2 /* Max # of ZS chips supported. */
 
#define ZS_NUM_CHAN   2 /* 2 channels per chip. */
 
#define ZS_CHAN_A   0 /* Index of the channel A. */
 
#define ZS_CHAN_B   1 /* Index of the channel B. */
 
#define ZS_CHAN_IO_SIZE   8 /* IOMEM space size. */
 
#define ZS_CHAN_IO_STRIDE   4 /* Register alignment. */
 
#define ZS_CHAN_IO_OFFSET
 
#define ZS_CLOCK   7372800 /* Z85C30 PCLK input clock rate. */
 
#define to_zport(uport)   container_of(uport, struct zs_port, port)
 
#define Rx_BRK   0x0100 /* BREAK event software flag. */
 
#define Rx_SYS   0x0200 /* SysRq event software flag. */
 
#define SERIAL_ZS_CONSOLE   NULL
 

Functions

 MODULE_AUTHOR ("Maciej W. Rozycki <[email protected]>")
 
 MODULE_DESCRIPTION ("DECstation Z85C30 serial driver")
 
 MODULE_LICENSE ("GPL")
 
 module_init (zs_init)
 
 module_exit (zs_exit)
 

Macro Definition Documentation

#define Rx_BRK   0x0100 /* BREAK event software flag. */

Definition at line 536 of file zs.c.

#define Rx_SYS   0x0200 /* SysRq event software flag. */

Definition at line 537 of file zs.c.

#define SERIAL_ZS_CONSOLE   NULL

Definition at line 1246 of file zs.c.

#define to_zport (   uport)    container_of(uport, struct zs_port, port)

Definition at line 101 of file zs.c.

#define ZS_CHAN_A   0 /* Index of the channel A. */

Definition at line 94 of file zs.c.

#define ZS_CHAN_B   1 /* Index of the channel B. */

Definition at line 95 of file zs.c.

#define ZS_CHAN_IO_OFFSET
Value:
1 /* The SCC resides on the high byte
of the 16-bit IOBUS. */

Definition at line 98 of file zs.c.

#define ZS_CHAN_IO_SIZE   8 /* IOMEM space size. */

Definition at line 96 of file zs.c.

#define ZS_CHAN_IO_STRIDE   4 /* Register alignment. */

Definition at line 97 of file zs.c.

#define ZS_CLOCK   7372800 /* Z85C30 PCLK input clock rate. */

Definition at line 99 of file zs.c.

#define ZS_NUM_CHAN   2 /* 2 channels per chip. */

Definition at line 93 of file zs.c.

#define ZS_NUM_SCCS   2 /* Max # of ZS chips supported. */

Definition at line 92 of file zs.c.

Function Documentation

MODULE_AUTHOR ( "Maciej W. Rozycki <[email protected]>"  )
MODULE_DESCRIPTION ( "DECstation Z85C30 serial driver )
module_exit ( zs_exit  )
module_init ( zs_init  )
MODULE_LICENSE ( "GPL"  )