Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc make this compile with DEBUG.
details: https://anonhg.NetBSD.org/src/rev/c894763d2f29
branches: trunk
changeset: 524912:c894763d2f29
user: chs <chs%NetBSD.org@localhost>
date: Tue Apr 02 06:39:32 2002 +0000
description:
make this compile with DEBUG.
diffstat:
sys/arch/sparc/sparc/autoconf.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (25 lines):
diff -r d500c9f0b240 -r c894763d2f29 sys/arch/sparc/sparc/autoconf.c
--- a/sys/arch/sparc/sparc/autoconf.c Tue Apr 02 06:22:28 2002 +0000
+++ b/sys/arch/sparc/sparc/autoconf.c Tue Apr 02 06:39:32 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.167 2002/03/28 19:50:21 uwe Exp $ */
+/* $NetBSD: autoconf.c,v 1.168 2002/04/02 06:39:32 chs Exp $ */
/*
* Copyright (c) 1996
@@ -1721,11 +1721,12 @@
case BUSCLASS_MAINBUS:
ma = aux;
DPRINTF(ACDB_BOOTDEV, ("instance_match: mainbus device, "
- "want space %#x addr %#x have space %#lx addr %#llx\n",
- bp->val[0], bp->val[1], BUS_ADDR_IOSPACE(ma->ma_paddr),
+ "want space %#x addr %#x have space %#x addr %#llx\n",
+ bp->val[0], bp->val[1], (int)BUS_ADDR_IOSPACE(ma->ma_paddr),
(unsigned long long)BUS_ADDR_PADDR(ma->ma_paddr)));
if ((u_long)bp->val[0] == BUS_ADDR_IOSPACE(ma->ma_paddr) &&
- (bus_addr_t)(u_long)bp->val[1] == BUS_ADDR_PADDR(ma->ma_paddr))
+ (bus_addr_t)(u_long)bp->val[1] ==
+ BUS_ADDR_PADDR(ma->ma_paddr))
return (1);
break;
case BUSCLASS_SBUS:
Home |
Main Index |
Thread Index |
Old Index