Module Name:    src
Committed By:   phx
Date:           Tue May 18 14:32:39 UTC 2010

Modified Files:
        src/sys/arch/sandpoint/stand/netboot: brdsetup.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/sandpoint/stand/netboot/brdsetup.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sandpoint/stand/netboot/brdsetup.c
diff -u src/sys/arch/sandpoint/stand/netboot/brdsetup.c:1.16 src/sys/arch/sandpoint/stand/netboot/brdsetup.c:1.17
--- src/sys/arch/sandpoint/stand/netboot/brdsetup.c:1.16	Tue May 18 10:41:30 2010
+++ src/sys/arch/sandpoint/stand/netboot/brdsetup.c	Tue May 18 14:32:38 2010
@@ -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;
 	}
 

Reply via email to