Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sunsab.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/major.h>
#include <linux/string.h>
#include <linux/ptrace.h>
#include <linux/ioport.h>
#include <linux/circ_buf.h>
#include <linux/serial.h>
#include <linux/sysrq.h>
#include <linux/console.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/of_device.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/prom.h>
#include <asm/setup.h>
#include <linux/serial_core.h>
#include <linux/sunserialcore.h>
#include "sunsab.h"

Go to the source code of this file.

Data Structures

struct  uart_sunsab_port
 

Macros

#define SAB_BASE_BAUD   ( 29491200 / 16 )
 
#define SAB82532_MAX_TEC_TIMEOUT   200000 /* 1 character time (at 50 baud) */
 
#define SAB82532_MAX_CEC_TIMEOUT   50000 /* 2.5 TX CLKs (at 50 baud) */
 
#define SAB82532_RECV_FIFO_SIZE   32 /* Standard async fifo sizes */
 
#define SAB82532_XMIT_FIFO_SIZE   32
 
#define SUNSAB_CONSOLE()   (NULL)
 
#define sunsab_console_init()   do { } while (0)
 

Functions

 MODULE_DEVICE_TABLE (of, sab_match)
 
 module_init (sunsab_init)
 
 module_exit (sunsab_exit)
 
 MODULE_AUTHOR ("Eddie C. Dost and David S. Miller")
 
 MODULE_DESCRIPTION ("Sun SAB82532 serial port driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define SAB82532_MAX_CEC_TIMEOUT   50000 /* 2.5 TX CLKs (at 50 baud) */

Definition at line 89 of file sunsab.c.

#define SAB82532_MAX_TEC_TIMEOUT   200000 /* 1 character time (at 50 baud) */

Definition at line 88 of file sunsab.c.

#define SAB82532_RECV_FIFO_SIZE   32 /* Standard async fifo sizes */

Definition at line 91 of file sunsab.c.

#define SAB82532_XMIT_FIFO_SIZE   32

Definition at line 92 of file sunsab.c.

#define SAB_BASE_BAUD   ( 29491200 / 16 )

Definition at line 79 of file sunsab.c.

#define SUNSAB_CONSOLE ( )    (NULL)

Definition at line 953 of file sunsab.c.

#define sunsab_console_init ( )    do { } while (0)

Definition at line 954 of file sunsab.c.

Function Documentation

MODULE_AUTHOR ( "Eddie C. Dost and David S. Miller"  )
MODULE_DESCRIPTION ( "Sun SAB82532 serial port driver )
MODULE_DEVICE_TABLE ( of  ,
sab_match   
)
module_exit ( sunsab_exit  )
module_init ( sunsab_init  )
MODULE_LICENSE ( "GPL"  )