diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2003-09-23 09:25:38 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2003-09-23 09:25:38 +0000 |
| commit | c423dba33446cdad2bea753403c9520ceb9ac488 (patch) | |
| tree | 81235bda429271091a4b5cf67aef8cd0cb60242b /sys/dev/uart/uart_dev_z8530.c | |
| parent | 34c875bc305bf80b2466c8d3c41bace73bc9cc5e (diff) | |
Notes
Diffstat (limited to 'sys/dev/uart/uart_dev_z8530.c')
| -rw-r--r-- | sys/dev/uart/uart_dev_z8530.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/uart/uart_dev_z8530.c b/sys/dev/uart/uart_dev_z8530.c index eda35b8961d8..30d8ed8ede7e 100644 --- a/sys/dev/uart/uart_dev_z8530.c +++ b/sys/dev/uart/uart_dev_z8530.c @@ -42,8 +42,8 @@ __FBSDID("$FreeBSD$"); #define DEFAULT_RCLK 307200 -#define IS_CHANNEL_A(bas) ((uart_cpu_busaddr(bas) & 7) != 0) -#define IS_CHANNEL_B(bas) ((uart_cpu_busaddr(bas) & 7) == 0) +#define IS_CHANNEL_A(bas) (((bas)->iobase & 7) != 0) +#define IS_CHANNEL_B(bas) (((bas)->iobase & 7) == 0) /* Multiplexed I/O. */ static __inline void |
