Remove definitions of uart_[gs]etdreg. They are not used anymore and
were in fact wrong.
This commit is contained in:
parent
b187a35955
commit
67b3bc8e5e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user