summaryrefslogtreecommitdiff
path: root/sys/dev/uart/uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/uart/uart.h')
-rw-r--r--sys/dev/uart/uart.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/uart/uart.h b/sys/dev/uart/uart.h
index da9bd1baf4d4..f4320d4c53ab 100644
--- a/sys/dev/uart/uart.h
+++ b/sys/dev/uart/uart.h
@@ -60,6 +60,15 @@ struct uart_bas {
BUS_SPACE_BARRIER_READ|BUS_SPACE_BARRIER_WRITE)
/*
+ * UART device classes.
+ */
+struct uart_class;
+
+extern struct uart_class uart_ns8250_class __attribute__((weak));
+extern struct uart_class uart_sab82532_class __attribute__((weak));
+extern struct uart_class uart_z8530_class __attribute__((weak));
+
+/*
* Device flags.
*/
#define UART_FLAGS_CONSOLE(f) ((f) & 0x10)