1 | /* nc16550cfg.h |
---|
2 | * |
---|
3 | * This include file contains all console driver definations for the nc16550 |
---|
4 | * |
---|
5 | * COPYRIGHT (c) 1998 by Radstone Technology |
---|
6 | * |
---|
7 | * |
---|
8 | * THIS FILE IS PROVIDED TO YOU, THE USER, "AS IS", WITHOUT WARRANTY OF ANY |
---|
9 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
---|
10 | * IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK |
---|
11 | * AS TO THE QUALITY AND PERFORMANCE OF ALL CODE IN THIS FILE IS WITH YOU. |
---|
12 | * |
---|
13 | * You are hereby granted permission to use, copy, modify, and distribute |
---|
14 | * this file, provided that this notice, plus the above copyright notice |
---|
15 | * and disclaimer, appears in all copies. Radstone Technology will provide |
---|
16 | * no support for this code. |
---|
17 | * |
---|
18 | * COPYRIGHT (c) 1989-1999. |
---|
19 | * On-Line Applications Research Corporation (OAR). |
---|
20 | * |
---|
21 | * The license and distribution terms for this file may be |
---|
22 | * found in the file LICENSE in this distribution or at |
---|
23 | * http://www.rtems.com/license/LICENSE. |
---|
24 | * |
---|
25 | * $Id$ |
---|
26 | */ |
---|
27 | |
---|
28 | #ifndef __NS16550_CONFIG_H |
---|
29 | #define __NS16550_CONFIG_H |
---|
30 | |
---|
31 | #ifdef __cplusplus |
---|
32 | extern "C" { |
---|
33 | #endif |
---|
34 | |
---|
35 | /* |
---|
36 | * Board specific register access routines |
---|
37 | */ |
---|
38 | |
---|
39 | uint8_t Read_ns16550_register( |
---|
40 | uint32_t ulCtrlPort, |
---|
41 | uint8_t ucRegNum |
---|
42 | ); |
---|
43 | |
---|
44 | void Write_ns16550_register( |
---|
45 | uint32_t ulCtrlPort, |
---|
46 | uint8_t ucRegNum, |
---|
47 | uint8_t ucData |
---|
48 | ); |
---|
49 | |
---|
50 | extern console_fns ns16550_fns_8245; |
---|
51 | extern console_fns ns16550_fns_polled_8245; |
---|
52 | |
---|
53 | #ifdef __cplusplus |
---|
54 | } |
---|
55 | #endif |
---|
56 | |
---|
57 | #endif |
---|