Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Print DDR3's row and column correctly.
details: https://anonhg.NetBSD.org/src/rev/32f75b56bd2a
branches: trunk
changeset: 970313:32f75b56bd2a
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Fri Mar 20 07:44:10 2020 +0000
description:
Print DDR3's row and column correctly.
diffstat:
sys/dev/ic/spdmem.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2e8cdf27ce5c -r 32f75b56bd2a sys/dev/ic/spdmem.c
--- a/sys/dev/ic/spdmem.c Fri Mar 20 06:38:16 2020 +0000
+++ b/sys/dev/ic/spdmem.c Fri Mar 20 07:44:10 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spdmem.c,v 1.31 2019/04/07 01:39:12 pgoyette Exp $ */
+/* $NetBSD: spdmem.c,v 1.32 2020/03/20 07:44:10 msaitoh Exp $ */
/*
* Copyright (c) 2007 Nicolas Joly
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spdmem.c,v 1.31 2019/04/07 01:39:12 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spdmem.c,v 1.32 2020/03/20 07:44:10 msaitoh Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -797,7 +797,7 @@
aprint_verbose_dev(self,
"%d rows, %d cols, %d log. banks, %d phys. banks, "
"%d.%03dns cycle time\n",
- s->sm_ddr3.ddr3_rows + 9, s->sm_ddr3.ddr3_cols + 12,
+ s->sm_ddr3.ddr3_rows + 12, s->sm_ddr3.ddr3_cols + 9,
1 << (s->sm_ddr3.ddr3_logbanks + 3),
s->sm_ddr3.ddr3_physbanks + 1,
cycle_time/1000, cycle_time % 1000);
Home |
Main Index |
Thread Index |
Old Index