Remove definitions of uart_[gs]etdreg. They are not used anymore and

were in fact wrong.
This commit is contained in:
marcel 2006-05-23 22:33:44 +00:00
parent b187a35955
commit 67b3bc8e5e

View File

@ -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