Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/dev Make 32-bit kernels compile with option...
details: https://anonhg.NetBSD.org/src/rev/a90cd4b1d42b
branches: trunk
changeset: 559696:a90cd4b1d42b
user: nakayama <nakayama%NetBSD.org@localhost>
date: Mon Mar 22 12:21:58 2004 +0000
description:
Make 32-bit kernels compile with options DEBUG.
diffstat:
sys/arch/sparc64/dev/psycho.c | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diffs (44 lines):
diff -r 8fe572e63133 -r a90cd4b1d42b sys/arch/sparc64/dev/psycho.c
--- a/sys/arch/sparc64/dev/psycho.c Mon Mar 22 12:20:52 2004 +0000
+++ b/sys/arch/sparc64/dev/psycho.c Mon Mar 22 12:21:58 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: psycho.c,v 1.70 2004/03/21 12:50:14 martin Exp $ */
+/* $NetBSD: psycho.c,v 1.71 2004/03/22 12:21:58 nakayama Exp $ */
/*
* Copyright (c) 2001, 2002 Eduardo E. Horvath
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: psycho.c,v 1.70 2004/03/21 12:50:14 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: psycho.c,v 1.71 2004/03/22 12:21:58 nakayama Exp $");
#include "opt_ddb.h"
@@ -231,19 +231,22 @@
for (intrmapptr = &sc->sc_regs->scsi_int_map;
intrmapptr < &sc->sc_regs->ue_int_map;
intrmapptr++)
- printf("%p: %lx\n", intrmapptr, *intrmapptr);
+ printf("%p: %llx\n", intrmapptr,
+ (unsigned long long)*intrmapptr);
printf("\tintmap:pci\n");
for (intrmapptr = &sc->sc_regs->pcia_slot0_int;
intrmapptr <= &sc->sc_regs->pcib_slot3_int;
intrmapptr++)
- printf("%p: %lx\n", intrmapptr, *intrmapptr);
+ printf("%p: %llx\n", intrmapptr,
+ (unsigned long long)*intrmapptr);
printf("\tintmap:ffb\n");
for (intrmapptr = &sc->sc_regs->ffb0_int_map;
intrmapptr <= &sc->sc_regs->ffb1_int_map;
intrmapptr++)
- printf("%p: %lx\n", intrmapptr, *intrmapptr);
+ printf("%p: %llx\n", intrmapptr,
+ (unsigned long long)*intrmapptr);
}
#endif
Home |
Main Index |
Thread Index |
Old Index