Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 1 | #ifndef UART8250_H |
| 2 | #define UART8250_H |
| 3 | |
Eric Biederman | 5cd8173 | 2004-03-11 15:01:31 +0000 | [diff] [blame] | 4 | struct uart8250 { |
| 5 | unsigned int baud; |
| 6 | /* Do I need an lcs parameter here? */ |
| 7 | }; |
| 8 | |
Greg Watson | e54d55b | 2004-03-13 03:40:51 +0000 | [diff] [blame] | 9 | unsigned char uart8250_rx_byte(unsigned base_port); |
| 10 | int uart8250_can_rx_byte(unsigned base_port); |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 11 | void uart8250_tx_byte(unsigned base_port, unsigned char data); |
| 12 | void uart8250_init(unsigned base_port, unsigned divisor, unsigned lcs); |
Eric Biederman | 5cd8173 | 2004-03-11 15:01:31 +0000 | [diff] [blame] | 13 | void init_uart8250(unsigned base_port, struct uart8250 *uart); |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 14 | |
| 15 | #endif /* UART8250_H */ |