Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
amiserial.c File Reference
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/serial.h>
#include <linux/serial_reg.h>
#include <linux/errno.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/circ_buf.h>
#include <linux/console.h>
#include <linux/major.h>
#include <linux/string.h>
#include <linux/fcntl.h>
#include <linux/ptrace.h>
#include <linux/ioport.h>
#include <linux/mm.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/bitops.h>
#include <linux/platform_device.h>
#include <asm/setup.h>
#include <asm/irq.h>
#include <asm/amigahw.h>
#include <asm/amigaints.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Data Structures

struct  serial_state
 

Macros

#define SERIAL_DO_RESTART
 
#define DBG_CNT(s)
 
#define custom   amiga_custom
 
#define WAKEUP_CHARS   256
 
#define NR_PORTS   ARRAY_SIZE(rs_table)
 
#define serial_isroot()   (capable(CAP_SYS_ADMIN))
 
#define SDR_OVRUN   (1<<15)
 
#define SDR_RBF   (1<<14)
 
#define SDR_TBE   (1<<13)
 
#define SDR_TSRE   (1<<12)
 
#define SERPER_PARENB   (1<<15)
 
#define AC_SETCLR   (1<<15)
 
#define AC_UARTBRK   (1<<11)
 
#define SER_DTR   (1<<7)
 
#define SER_RTS   (1<<6)
 
#define SER_DCD   (1<<5)
 
#define SER_CTS   (1<<4)
 
#define SER_DSR   (1<<3)
 

Functions

 module_init (amiga_serial_init)
 
 module_exit (amiga_serial_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:amiga-serial")
 

Macro Definition Documentation

#define AC_SETCLR   (1<<15)

Definition at line 165 of file amiserial.c.

#define AC_UARTBRK   (1<<11)

Definition at line 166 of file amiserial.c.

#define custom   amiga_custom

Definition at line 112 of file amiserial.c.

#define DBG_CNT (   s)

Definition at line 50 of file amiserial.c.

#define NR_PORTS   ARRAY_SIZE(rs_table)

Definition at line 129 of file amiserial.c.

#define SDR_OVRUN   (1<<15)

Definition at line 158 of file amiserial.c.

#define SDR_RBF   (1<<14)

Definition at line 159 of file amiserial.c.

#define SDR_TBE   (1<<13)

Definition at line 160 of file amiserial.c.

#define SDR_TSRE   (1<<12)

Definition at line 161 of file amiserial.c.

#define SER_CTS   (1<<4)

Definition at line 171 of file amiserial.c.

#define SER_DCD   (1<<5)

Definition at line 170 of file amiserial.c.

#define SER_DSR   (1<<3)

Definition at line 172 of file amiserial.c.

#define SER_DTR   (1<<7)

Definition at line 168 of file amiserial.c.

#define SER_RTS   (1<<6)

Definition at line 169 of file amiserial.c.

#define SERIAL_DO_RESTART

Definition at line 35 of file amiserial.c.

#define serial_isroot ( )    (capable(CAP_SYS_ADMIN))

Definition at line 133 of file amiserial.c.

#define SERPER_PARENB   (1<<15)

Definition at line 163 of file amiserial.c.

#define WAKEUP_CHARS   256

Definition at line 118 of file amiserial.c.

Function Documentation

MODULE_ALIAS ( "platform:amiga-serial )
module_exit ( amiga_serial_exit  )
module_init ( amiga_serial_init  )
MODULE_LICENSE ( "GPL"  )