Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
serial.c File Reference
#include <linux/io.h>
#include <linux/init.h>
#include <linux/serial_8250.h>
#include <asm/bootinfo.h>
#include <loongson.h>
#include <machine.h>

Go to the source code of this file.

Macros

#define PORT(int)
 
#define PORT_M(int)
 

Functions

 device_initcall (serial_init)
 

Macro Definition Documentation

#define PORT (   int)
Value:
{ \
.irq = int, \
.uartclk = 1843200, \
.iotype = UPIO_PORT, \
.regshift = 0, \
}

Definition at line 22 of file serial.c.

#define PORT_M (   int)
Value:
{ \
.irq = MIPS_CPU_IRQ_BASE + (int), \
.uartclk = 3686400, \
.iotype = UPIO_MEM, \
.membase = (void __iomem *)NULL, \
.regshift = 0, \
}

Definition at line 31 of file serial.c.

Function Documentation

device_initcall ( serial_init  )