Module Name:    src
Committed By:   nisimura
Date:           Mon Apr  9 14:02:04 UTC 2012

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

Log Message:
The processor ExtClk value of Kurobox/T4 is comfirmed as 32768000.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/sandpoint/stand/altboot/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/altboot/brdsetup.c
diff -u src/sys/arch/sandpoint/stand/altboot/brdsetup.c:1.29 src/sys/arch/sandpoint/stand/altboot/brdsetup.c:1.30
--- src/sys/arch/sandpoint/stand/altboot/brdsetup.c:1.29	Mon Apr  9 13:26:37 2012
+++ src/sys/arch/sandpoint/stand/altboot/brdsetup.c	Mon Apr  9 14:02:04 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: brdsetup.c,v 1.29 2012/04/09 13:26:37 nisimura Exp $ */
+/* $NetBSD: brdsetup.c,v 1.30 2012/04/09 14:02:04 nisimura Exp $ */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -174,9 +174,9 @@ static struct brdprop brdlist[] = {
 	"kurot4",
 	"KuroBox/T4",
 	BRD_KUROBOXT4,
-	0,
+	32768000,
 	"eumb", 0x4600, 57600,
-	kurot4setup, kurot4brdfix, NULL, NULL },
+	NULL, kurot4brdfix, NULL, NULL },
     {
 	"unknown",
 	"Unknown board",
@@ -776,16 +776,6 @@ nhnasreset()
 }
 
 void
-kurot4setup(struct brdprop *brd)
-{
-
-	if (PCI_VENDOR(pcicfgread(pcimaketag(0, 11, 0), PCI_ID_REG)) == 0x10ec)
-		brd->extclk = 32768000; /* decr 2457600Hz */
-	else
-		brd->extclk = 32521333; /* decr 2439100Hz */
-}
-
-void
 kurot4brdfix(struct brdprop *brd)
 {
 

Reply via email to