diff options
author | sam <sam@FreeBSD.org> | 2008-03-12 19:09:20 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-03-12 19:09:20 +0000 |
commit | 078a480e832ff2e17316580432aefc4fc0fb9fe5 (patch) | |
tree | 08dd20b0dcf8327aa908c2984f679f7911e00bd6 /sys/dev/uart/uart.h | |
parent | 096789c286d69935923cf7878105b3163cb91512 (diff) | |
download | FreeBSD-src-078a480e832ff2e17316580432aefc4fc0fb9fe5.zip FreeBSD-src-078a480e832ff2e17316580432aefc4fc0fb9fe5.tar.gz |
add device hints to control the rx FIFO interrupt level on 16550A parts
PR: kern/121421
Submitted by: UEMURA Tetsuya
Reviewed by: marcel
MFC after: 2 weeks
Diffstat (limited to 'sys/dev/uart/uart.h')
-rw-r--r-- | sys/dev/uart/uart.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/uart/uart.h b/sys/dev/uart/uart.h index bcb8cd8..ed980eb 100644 --- a/sys/dev/uart/uart.h +++ b/sys/dev/uart/uart.h @@ -74,6 +74,10 @@ extern struct uart_class uart_z8530_class __attribute__((weak)); */ #define UART_FLAGS_CONSOLE(f) ((f) & 0x10) #define UART_FLAGS_DBGPORT(f) ((f) & 0x80) +#define UART_FLAGS_FCR_RX_LOW(f) ((f) & 0x100) +#define UART_FLAGS_FCR_RX_MEDL(f) ((f) & 0x200) +#define UART_FLAGS_FCR_RX_MEDH(f) ((f) & 0x400) +#define UART_FLAGS_FCR_RX_HIGH(f) ((f) & 0x800) /* * Data parity values (magical numbers related to ns8250). |