Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/marvell Fix mvPclk. Need 'break' each 'case'.
details: https://anonhg.NetBSD.org/src/rev/184750ecffa9
branches: trunk
changeset: 758270:184750ecffa9
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Sat Oct 30 06:37:49 2010 +0000
description:
Fix mvPclk. Need 'break' each 'case'.
diffstat:
sys/arch/arm/marvell/kirkwood.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 88311eb64675 -r 184750ecffa9 sys/arch/arm/marvell/kirkwood.c
--- a/sys/arch/arm/marvell/kirkwood.c Sat Oct 30 06:11:18 2010 +0000
+++ b/sys/arch/arm/marvell/kirkwood.c Sat Oct 30 06:37:49 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kirkwood.c,v 1.1 2010/10/03 05:49:24 kiyohara Exp $ */
+/* $NetBSD: kirkwood.c,v 1.2 2010/10/30 06:37:49 kiyohara Exp $ */
/*
* Copyright (c) 2010 KIYOHARA Takashi
* All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kirkwood.c,v 1.1 2010/10/03 05:49:24 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kirkwood.c,v 1.2 2010/10/30 06:37:49 kiyohara Exp $");
#define _INTR_PRIVATE
@@ -261,8 +261,8 @@
KIRKWOOD_MPP_SAMPLE_AT_RESET);
if (model == MARVELL_KIRKWOOD_88F6180) {
switch (reg & 0x0000001c) {
- case 0x00000014: mvPclk = 600 MHz;
- case 0x00000018: mvPclk = 800 MHz;
+ case 0x00000014: mvPclk = 600 MHz; break;
+ case 0x00000018: mvPclk = 800 MHz; break;
default:
panic("unknown mvPclk\n");
}
Home |
Main Index |
Thread Index |
Old Index