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_dev_sab82532.c | |
| parent | 5abd21e1e66e2f3ff01aea76dbe3801f95d9ad4a (diff) | |
Notes
Diffstat (limited to 'sys/dev/uart/uart_dev_sab82532.c')
| -rw-r--r-- | sys/dev/uart/uart_dev_sab82532.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/uart/uart_dev_sab82532.c b/sys/dev/uart/uart_dev_sab82532.c index b7ca2e4956c6..5345e972d240 100644 --- a/sys/dev/uart/uart_dev_sab82532.c +++ b/sys/dev/uart/uart_dev_sab82532.c @@ -42,8 +42,8 @@ __FBSDID("$FreeBSD$"); #define DEFAULT_RCLK 29491200 -#define IS_CHANNEL_A(bas) (((bas)->bsh & 0x40) == 0x00) -#define IS_CHANNEL_B(bas) (((bas)->bsh & 0x40) == 0x40) +#define IS_CHANNEL_A(bas) ((uart_cpu_busaddr(bas) & 0x40) == 0x00) +#define IS_CHANNEL_B(bas) ((uart_cpu_busaddr(bas) & 0x40) == 0x40) /* * NOTE: To allow us to read the baudrate divisor from the chip, we |
