summaryrefslogtreecommitdiff
path: root/sys/dev/uart/uart.h
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2006-05-23 22:33:44 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2006-05-23 22:33:44 +0000
commiteb2198ec84d1dd425add90c42beb84f2fbf86883 (patch)
treedb13c021889fda8c6f53a0cf0e246a6f708a9148 /sys/dev/uart/uart.h
parent9f14302d3ced3f5c67fc4a3da87451f030c508af (diff)
Notes
Diffstat (limited to 'sys/dev/uart/uart.h')
-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