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 Set Synology extclk from 33...



details:   https://anonhg.NetBSD.org/src/rev/0e4959bfd835
branches:  trunk
changeset: 754974:0e4959bfd835
user:      phx <phx%NetBSD.org@localhost>
date:      Tue May 18 14:32:38 2010 +0000

description:
Set Synology extclk from 33.333333MHz to 33.164526MHz, which reduces the
error in the mftb timer from 5% to 0.002%.
The console port for QNAP and STORCENTER is 0x4500, not 0x4600.

diffstat:

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

diffs (32 lines):

diff -r 10183642364e -r 0e4959bfd835 sys/arch/sandpoint/stand/netboot/brdsetup.c
--- a/sys/arch/sandpoint/stand/netboot/brdsetup.c       Tue May 18 11:20:12 2010 +0000
+++ b/sys/arch/sandpoint/stand/netboot/brdsetup.c       Tue May 18 14:32:38 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: brdsetup.c,v 1.16 2010/05/18 10:41:30 phx Exp $ */
+/* $NetBSD: brdsetup.c,v 1.17 2010/05/18 14:32:38 phx Exp $ */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -168,19 +168,20 @@
                consname = "eumb";
                consport = 0x4500;
                consspeed = 115200;
+               extclk = 33164526;
        }
        else if (PCI_VENDOR(pcicfgread(pcimaketag(0, 15, 0), PCI_ID_REG)) ==
            0x8086) {                           /* PCI_VENDOR_INTEL */
                brdtype = BRD_QNAPTS101;
                consname = "eumb";
-               consport = 0x4600;
+               consport = 0x4500;
                consspeed = 115200;
        }
        else if (PCI_VENDOR(pcicfgread(pcimaketag(0, 15, 0), PCI_ID_REG)) ==
            0x10ec) {                           /* PCI_VENDOR_REALTEK */
                brdtype = BRD_STORCENTER;
                consname = "eumb";
-               consport = 0x4600;
+               consport = 0x4500;
                consspeed = 115200;
        }
 



Home | Main Index | Thread Index | Old Index