The primary changes is the way in which printk works. But there are many other assorted code cleanups. Just look and see :)
10 lines
295 B
C
10 lines
295 B
C
#ifndef _SERIAL_SUBR_H_
|
|
#define _SERIAL_SUBR_H_
|
|
|
|
void ttys0_init(void);
|
|
void ttys0_tx_byte(unsigned char data);
|
|
unsigned char ttys0_rx_byte(void);
|
|
unsigned long ttys0_rx_bytes(char *buffer, unsigned long size);
|
|
|
|
void uart_init(unsigned base_port, unsigned divisor);
|
|
#endif /* _SERIAL_SUBR_H_ */
|