Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
sunsu.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/spinlock.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/slab.h>
#include <linux/serial_reg.h>
#include <linux/init.h>
#include <linux/delay.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>

Go to the source code of this file.

Data Structures

struct  serial_uart_config
 
struct  uart_sunsu_port
 

Macros

#define SU_BASE_BAUD   (1846200 / 16)
 
#define serial_inp(up, offset)   serial_in(up, offset)
 
#define serial_outp(up, offset, value)   serial_out(up, offset, value)
 
#define UART_NR   4
 
#define SUNSU_CONSOLE()   (NULL)
 
#define sunsu_serial_console_init()   do { } while (0)
 

Enumerations

enum  su_type { SU_PORT_NONE, SU_PORT_MS, SU_PORT_KBD, SU_PORT_PORT }
 

Functions

 MODULE_DEVICE_TABLE (of, su_match)
 
 module_init (sunsu_init)
 
 module_exit (sunsu_exit)
 
 MODULE_AUTHOR ("Eddie C. Dost, Peter Zaitcev, and David S. Miller")
 
 MODULE_DESCRIPTION ("Sun SU serial port driver")
 
 MODULE_VERSION ("2.0")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define serial_inp (   up,
  offset 
)    serial_in(up, offset)

Definition at line 161 of file sunsu.c.

#define serial_outp (   up,
  offset,
  value 
)    serial_out(up, offset, value)

Definition at line 162 of file sunsu.c.

#define SU_BASE_BAUD   (1846200 / 16)

Definition at line 56 of file sunsu.c.

#define SUNSU_CONSOLE ( )    (NULL)

Definition at line 1390 of file sunsu.c.

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

Definition at line 1391 of file sunsu.c.

#define UART_NR   4

Definition at line 974 of file sunsu.c.

Enumeration Type Documentation

enum su_type
Enumerator:
SU_PORT_NONE 
SU_PORT_MS 
SU_PORT_KBD 
SU_PORT_PORT 

Definition at line 58 of file sunsu.c.

Function Documentation

MODULE_AUTHOR ( "Eddie C.  Dost,
Peter  Zaitcev,
and David S.Miller"   
)
MODULE_DESCRIPTION ( "Sun SU serial port driver )
MODULE_DEVICE_TABLE ( of  ,
su_match   
)
module_exit ( sunsu_exit  )
module_init ( sunsu_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( "2.0"  )