diff options
author | marcel <marcel@FreeBSD.org> | 2006-02-24 02:03:35 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2006-02-24 02:03:35 +0000 |
commit | 2be5755c770635536cb23a9ab04b725574b56a5d (patch) | |
tree | 96ff3680658a6f36b718825385fb4629099fc383 /sys | |
parent | d1963b16cd68c3243cd3319e5843008259385bbd (diff) | |
download | FreeBSD-src-2be5755c770635536cb23a9ab04b725574b56a5d.zip FreeBSD-src-2be5755c770635536cb23a9ab04b725574b56a5d.tar.gz |
MFp4:
Add CHAN_A & CHAN_B for channel register offsets.
While here, fix a comment.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/z8530.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/ic/z8530.h b/sys/dev/ic/z8530.h index d86a662..2466d1c 100644 --- a/sys/dev/ic/z8530.h +++ b/sys/dev/ic/z8530.h @@ -34,9 +34,12 @@ * Channel B data: 1 * Channel A control: 2 * Channel A data: 3 - * - * We expect a seperate subregion for each channel. */ + +/* The following apply when using a device-scoped bus handle */ +#define CHAN_A 2 +#define CHAN_B 0 + #define REG_CTRL 0 #define REG_DATA 1 @@ -69,7 +72,7 @@ #define RR_BCL 6 /* Byte Count Low. */ #define RR_BCH 7 /* Byte Count High. */ #define RR_RB 8 /* Receive Buffer. */ -#define RR_RPC 9 /* Receive Parameters and Contro. */ +#define RR_RPC 9 /* Receive Parameters and Control. */ #define RR_MSB 10 /* Miscellaneous Status Bits. */ #define RR_MCB1 11 /* Miscellaneous Control Bits (part 1). */ #define RR_TCL 12 /* BRG Time Constant Low. */ |