Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2004 02:52:19 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 65633 for review
Message-ID:  <200411220252.iAM2qJ0O004457@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=65633

Change 65633 by marcel@marcel_nfs on 2004/11/22 02:52:13

	Add channel offsets.
	While here, fix a typo in a comment.

Affected files ...

.. //depot/projects/uart/dev/ic/z8530.h#3 edit

Differences ...

==== //depot/projects/uart/dev/ic/z8530.h#3 (text+ko) ====

@@ -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. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411220252.iAM2qJ0O004457>