Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Add prescaler bit constant (missed in previous co...



details:   https://anonhg.NetBSD.org/src/rev/68f2d8d51a21
branches:  trunk
changeset: 514486:68f2d8d51a21
user:      enami <enami%NetBSD.org@localhost>
date:      Tue Sep 04 01:33:14 2001 +0000

description:
Add prescaler bit constant (missed in previous commit).

diffstat:

 sys/dev/ic/hayespreg.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 6e64878b21cd -r 68f2d8d51a21 sys/dev/ic/hayespreg.h
--- a/sys/dev/ic/hayespreg.h    Mon Sep 03 23:03:29 2001 +0000
+++ b/sys/dev/ic/hayespreg.h    Tue Sep 04 01:33:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hayespreg.h,v 1.1 1996/02/10 20:23:40 christos Exp $   */
+/*     $NetBSD: hayespreg.h,v 1.2 2001/09/04 01:33:14 enami Exp $      */
 
 /*-
  * Copyright (c) 1995  Sean E. Fagin, John M Vinopal.
@@ -57,6 +57,7 @@
 #define        HAYESP_SETFLOWTYPE      0x08    /* set type of flow-control (2b) */
 #define        HAYESP_SETRXFLOW        0x0a    /* set Rx FIFO " levels (4b) */
 #define        HAYESP_SETMODE          0x10    /* set board mode (1b) */
+#define        HAYESP_SETPRESCALER     0x23    /* set UART clock prescaler (1b) */
 
 /* Mode bits (HAYESP_SETMODE). */
 #define        HAYESP_MODE_FIFO        0x02    /* act like a 16550 (compat mode) */



Home | Main Index | Thread Index | Old Index