aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/uart/uart.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/uart/uart.h b/sys/dev/uart/uart.h
index 101304ed6871..da9bd1baf4d4 100644
--- a/sys/dev/uart/uart.h
+++ b/sys/dev/uart/uart.h
@@ -50,12 +50,6 @@ struct uart_bas {
#define uart_setreg(bas, reg, value) \
bus_space_write_1((bas)->bst, (bas)->bsh, uart_regofs(bas, reg), value)
-/* 16-bit I/O (e.g. to divisor latch) */
-#define uart_getdreg(bas, reg) \
- bus_space_read_2((bas)->bst, (bas)->bsh, uart_regofs(bas, reg))
-#define uart_setdreg(bas, reg, value) \
- bus_space_write_2((bas)->bst, (bas)->bsh, uart_regofs(bas, reg), value)
-
/*
* XXX we don't know the length of the bus space address range in use by
* the UART. Since barriers don't use the length field currently, we put