summaryrefslogtreecommitdiffstats
path: root/sys/dev/uart/uart.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2006-05-23 22:33:44 +0000
committermarcel <marcel@FreeBSD.org>2006-05-23 22:33:44 +0000
commit67b3bc8e5e696fe47751a5789434cafccb9382bc (patch)
treedb13c021889fda8c6f53a0cf0e246a6f708a9148 /sys/dev/uart/uart.h
parentb187a359557eca65555485011e16fefc1dcbd17a (diff)
downloadFreeBSD-src-67b3bc8e5e696fe47751a5789434cafccb9382bc.zip
FreeBSD-src-67b3bc8e5e696fe47751a5789434cafccb9382bc.tar.gz
Remove definitions of uart_[gs]etdreg. They are not used anymore and
were in fact wrong.
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 101304e..da9bd1b 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
OpenPOWER on IntegriCloud