Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sandpoint/stand/netboot Typo: DHB should be DMB (mo...



details:   https://anonhg.NetBSD.org/src/rev/1dcf0b810bb3
branches:  trunk
changeset: 754791:1dcf0b810bb3
user:      phx <phx%NetBSD.org@localhost>
date:      Wed May 12 18:33:09 2010 +0000

description:
Typo: DHB should be DMB (most significant bye, not high byte).

diffstat:

 sys/arch/sandpoint/stand/netboot/brdsetup.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 64744b67b0fe -r 1dcf0b810bb3 sys/arch/sandpoint/stand/netboot/brdsetup.c
--- a/sys/arch/sandpoint/stand/netboot/brdsetup.c       Wed May 12 18:28:20 2010 +0000
+++ b/sys/arch/sandpoint/stand/netboot/brdsetup.c       Wed May 12 18:33:09 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: brdsetup.c,v 1.11 2010/05/08 19:41:07 phx Exp $ */
+/* $NetBSD: brdsetup.c,v 1.12 2010/05/12 18:33:09 phx Exp $ */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -54,7 +54,7 @@
 unsigned uart2base;    /* optional satellite processor */
 #define THR            0
 #define DLB            0
-#define DHB            1
+#define DMB            1
 #define IER            1
 #define FCR            2
 #define LCR            3
@@ -88,7 +88,7 @@
        div = busclock / speed / 16;
        UART_WRITE(base, LCR, 0x80);            /* turn on DLAB bit */
        UART_WRITE(base, FCR, 0x00);
-       UART_WRITE(base, DHB, div >> 8);        /* set speed */
+       UART_WRITE(base, DMB, div >> 8);        /* set speed */
        UART_WRITE(base, DLB, div & 0xff);
        UART_WRITE(base, LCR, lcr);
        UART_WRITE(base, FCR, 0x07);            /* FIFO on, TXRX FIFO reset */



Home | Main Index | Thread Index | Old Index