Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
8250_hp300.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/serial.h>
#include <linux/serial_core.h>
#include <linux/serial_8250.h>
#include <linux/delay.h>
#include <linux/dio.h>
#include <linux/console.h>
#include <linux/slab.h>
#include <asm/io.h>
#include "8250.h"

Go to the source code of this file.

Macros

#define UART_OFFSET   17
 
#define DCA_ID   0x01 /* ID (read), reset (write) */
 
#define DCA_IC   0x03 /* Interrupt control */
 
#define DCA_IC_IE   0x80 /* Master interrupt enable */
 
#define HPDCA_BAUD_BASE   153600
 
#define FRODO_BASE   (0x41c000)
 
#define FRODO_APCIBASE   0x0
 
#define FRODO_APCISPACE   0x20
 
#define FRODO_APCI_OFFSET(x)   (FRODO_APCIBASE + ((x) * FRODO_APCISPACE))
 
#define HPAPCI_BAUD_BASE   500400
 

Functions

 module_init (hp300_8250_init)
 
 module_exit (hp300_8250_exit)
 
 MODULE_DESCRIPTION ("HP DCA/APCI serial driver")
 
 MODULE_AUTHOR ("Kars de Jong <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Variables

int hp300_uart_scode
 

Macro Definition Documentation

#define DCA_IC   0x03 /* Interrupt control */

Definition at line 68 of file 8250_hp300.c.

#define DCA_IC_IE   0x80 /* Master interrupt enable */

Definition at line 71 of file 8250_hp300.c.

#define DCA_ID   0x01 /* ID (read), reset (write) */

Definition at line 67 of file 8250_hp300.c.

#define FRODO_APCI_OFFSET (   x)    (FRODO_APCIBASE + ((x) * FRODO_APCISPACE))

Definition at line 83 of file 8250_hp300.c.

#define FRODO_APCIBASE   0x0

Definition at line 81 of file 8250_hp300.c.

#define FRODO_APCISPACE   0x20

Definition at line 82 of file 8250_hp300.c.

#define FRODO_BASE   (0x41c000)

Definition at line 76 of file 8250_hp300.c.

#define HPAPCI_BAUD_BASE   500400

Definition at line 85 of file 8250_hp300.c.

#define HPDCA_BAUD_BASE   153600

Definition at line 73 of file 8250_hp300.c.

#define UART_OFFSET   17

Definition at line 65 of file 8250_hp300.c.

Function Documentation

MODULE_AUTHOR ( "Kars de Jong <[email protected]>"  )
MODULE_DESCRIPTION ( "HP DCA/APCI serial driver )
module_exit ( hp300_8250_exit  )
module_init ( hp300_8250_init  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

int hp300_uart_scode

Definition at line 26 of file config.c.