Module Name: src
Committed By: martin
Date: Mon May 1 10:25:47 UTC 2017
Modified Files:
src/sys/arch/next68k/dev: zs.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/next68k/dev/zs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/next68k/dev/zs.c
diff -u src/sys/arch/next68k/dev/zs.c:1.33 src/sys/arch/next68k/dev/zs.c:1.34
--- src/sys/arch/next68k/dev/zs.c:1.33 Fri Jun 13 12:26:55 2008
+++ src/sys/arch/next68k/dev/zs.c Mon May 1 10:25:47 2017
@@ -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 @@ zs_match(device_t parent, cfdata_t cf, v
if (zs_attached)
return 0;
- ia->ia_addr = (void *)IIOV(NEXT_P_SCC);
+ ia->ia_addr = (void *)NEXT_P_SCC;
return 1;
}