diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-09-07 21:51:03 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-09-07 21:51:03 +0000 |
| commit | 5cc705512d61b0e69a92da59a5d034a0e882a6fd (patch) | |
| tree | 22e0d3f0111ac1127e824ebbf9c76d4238693f5f /sys/dev/uart/uart_cpu_ia64.c | |
| parent | 5abd21e1e66e2f3ff01aea76dbe3801f95d9ad4a (diff) | |
Notes
Diffstat (limited to 'sys/dev/uart/uart_cpu_ia64.c')
| -rw-r--r-- | sys/dev/uart/uart_cpu_ia64.c | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/sys/dev/uart/uart_cpu_ia64.c b/sys/dev/uart/uart_cpu_ia64.c index f3523fb55b65..32073fceef05 100644 --- a/sys/dev/uart/uart_cpu_ia64.c +++ b/sys/dev/uart/uart_cpu_ia64.c @@ -44,6 +44,20 @@ static int dig64_to_uart_parity[] = { UART_PARITY_ODD, UART_PARITY_MARK, UART_PARITY_SPACE }; +bus_addr_t +uart_cpu_busaddr(struct uart_bas *bas) +{ + + return (bas->bsh); +} + +int +uart_cpu_eqres(struct uart_bas *b1, struct uart_bas *b2) +{ + + return ((b1->bsh == b2->bsh && b1->bst == b2->bst) ? 1 : 0); +} + int uart_cpu_getdev(int devtype, struct uart_devinfo *di) { @@ -130,10 +144,3 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di) return (ENXIO); } - -int -uart_cpu_eqres(struct uart_bas *b1, struct uart_bas *b2) -{ - - return ((b1->bsh == b2->bsh && b1->bst == b2->bst) ? 1 : 0); -} |
