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/7592578beee6
branches:  trunk
changeset: 1008348:7592578beee6
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 af4022214348 -r 7592578beee6 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