Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Make it compile again
details: https://anonhg.NetBSD.org/src/rev/4c8f36d0bf56
branches: trunk
changeset: 756644:4c8f36d0bf56
user: martin <martin%NetBSD.org@localhost>
date: Tue Jul 27 08:07:36 2010 +0000
description:
Make it compile again
diffstat:
sys/dev/ic/daic.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r d4ea52a9feda -r 4c8f36d0bf56 sys/dev/ic/daic.c
--- a/sys/dev/ic/daic.c Tue Jul 27 06:14:37 2010 +0000
+++ b/sys/dev/ic/daic.c Tue Jul 27 08:07:36 2010 +0000
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: daic.c,v 1.29 2009/05/12 14:25:17 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: daic.c,v 1.30 2010/07/27 08:07:36 martin Exp $");
/*
* daic.c: MI driver for Diehl active ISDN cards (S, SX, SXn, SCOM, QUADRO)
@@ -325,7 +325,7 @@
TAILQ_FOREACH(assoc, &sc->sc_outcalls[port], queue) {
if (indid == assoc->dchan_id) {
printf("%s: D-Channel indication 0x%02x for outgoing call with cdid %d\n",
- sc-device_xname(&>sc_dev), ind, assoc->cdid);
+ device_xname(&sc->sc_dev), ind, assoc->cdid);
goto ind_done;
}
}
@@ -520,8 +520,8 @@
return -1;
}
if (bus_space_read_1(bus, io, DAIC_BOOT_EBIT+off)) {
- if (!quiet) printf(": on board memory test failed at %p\n",
- (void*)bus_space_read_2(bus, io, DAIC_BOOT_ELOC+off));
+ if (!quiet) printf(": on board memory test failed at %x\n",
+ bus_space_read_2(bus, io, DAIC_BOOT_ELOC+off));
return -1;
}
Home |
Main Index |
Thread Index |
Old Index