diff options
Diffstat (limited to 'devices/uart/uart_16550.h')
-rw-r--r-- | devices/uart/uart_16550.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devices/uart/uart_16550.h b/devices/uart/uart_16550.h index 176dea2..d4f470e 100644 --- a/devices/uart/uart_16550.h +++ b/devices/uart/uart_16550.h @@ -2,7 +2,7 @@ #include "../uart.h" -int uart_thre(enum UART port); +int uart_thre(unsigned short port); void uart_putc(const FILE *self, char a); int uart_puts(const FILE *self, const char *string, int length); void uart_flush(__attribute__((unused)) const FILE *self); @@ -15,7 +15,7 @@ enum uart_16550_offset { ModemControl = 4, LineStatus = 5, ModemStatus = 6, - Scratch = 7, + Scratch = 7 }; /* Line Control @@ -45,5 +45,5 @@ enum LineStatus { BI = (1 << 4), /* break indicator: see if there is a break in data input */ THRE = (1 << 5), /* transmitter holding register empty: see if transmission buffer is empty */ TEMT = (1 << 6), /* transmitter empty: see if transmitter is not doing anything */ - ERRO = (1 << 7), /* impending error: see if there is an error with a word in the input buffer */ + ERRO = (1 << 7) /* impending error: see if there is an error with a word in the input buffer */ }; |