Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/next68k/dev PR port-next68k/52205 from Miod Vallat:...



details:   https://anonhg.NetBSD.org/src/rev/45bbb14ef537
branches:  trunk
changeset: 353359:45bbb14ef537
user:      martin <martin%NetBSD.org@localhost>
date:      Mon May 01 10:25:47 2017 +0000

description:
PR port-next68k/52205 from Miod Vallat: cosmetic change to print the
physical address when attaching zs devices.
For the real work, zs_get_chan_addr() will still use the virtual address.

diffstat:

 sys/arch/next68k/dev/zs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9c02deec355d -r 45bbb14ef537 sys/arch/next68k/dev/zs.c
--- a/sys/arch/next68k/dev/zs.c Mon May 01 10:00:43 2017 +0000
+++ b/sys/arch/next68k/dev/zs.c Mon May 01 10:25:47 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zs.c,v 1.33 2008/06/13 12:26:55 cegger Exp $   */
+/*     $NetBSD: zs.c,v 1.34 2017/05/01 10:25:47 martin Exp $   */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.33 2008/06/13 12:26:55 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.34 2017/05/01 10:25:47 martin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -183,7 +183,7 @@
        if (zs_attached)
                return 0;
 
-       ia->ia_addr = (void *)IIOV(NEXT_P_SCC);
+       ia->ia_addr = (void *)NEXT_P_SCC;
 
        return 1;
 }



Home | Main Index | Thread Index | Old Index