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/altboot The processor ExtClk value ...
details: https://anonhg.NetBSD.org/src/rev/5742cf54d938
branches: trunk
changeset: 778708:5742cf54d938
user: nisimura <nisimura%NetBSD.org@localhost>
date: Mon Apr 09 14:02:04 2012 +0000
description:
The processor ExtClk value of Kurobox/T4 is comfirmed as 32768000.
diffstat:
sys/arch/sandpoint/stand/altboot/brdsetup.c | 16 +++-------------
1 files changed, 3 insertions(+), 13 deletions(-)
diffs (38 lines):
diff -r 3d461bb17b04 -r 5742cf54d938 sys/arch/sandpoint/stand/altboot/brdsetup.c
--- a/sys/arch/sandpoint/stand/altboot/brdsetup.c Mon Apr 09 13:26:37 2012 +0000
+++ b/sys/arch/sandpoint/stand/altboot/brdsetup.c Mon Apr 09 14:02:04 2012 +0000
@@ -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 @@
"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 @@
}
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)
{
Home |
Main Index |
Thread Index |
Old Index