Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic More debug printfs.
details: https://anonhg.NetBSD.org/src/rev/65adf62b9b18
branches: trunk
changeset: 526489:65adf62b9b18
user: bouyer <bouyer%NetBSD.org@localhost>
date: Sat May 04 17:51:16 2002 +0000
description:
More debug printfs.
diffstat:
sys/dev/ic/esiop.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 90525a46ed5d -r 65adf62b9b18 sys/dev/ic/esiop.c
--- a/sys/dev/ic/esiop.c Sat May 04 17:19:25 2002 +0000
+++ b/sys/dev/ic/esiop.c Sat May 04 17:51:16 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: esiop.c,v 1.13 2002/04/29 15:44:16 bouyer Exp $ */
+/* $NetBSD: esiop.c,v 1.14 2002/05/04 17:51:16 bouyer Exp $ */
/*
* Copyright (c) 2002 Manuel Bouyer.
@@ -33,7 +33,7 @@
/* SYM53c7/8xx PCI-SCSI I/O Processors driver */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: esiop.c,v 1.13 2002/04/29 15:44:16 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: esiop.c,v 1.14 2002/05/04 17:51:16 bouyer Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -596,6 +596,12 @@
(u_long)(bus_space_read_4(sc->sc_c.sc_rt, sc->sc_c.sc_rh,
SIOP_DSP) -
sc->sc_c.sc_scriptaddr));
+ printf("SDID 0x%x SCNTL3 0x%x SXFER 0x%x SCNTL4 0x%x\n",
+ bus_space_read_1(sc->sc_c.sc_rt, sc->sc_c.sc_rh, SIOP_SDID),
+ bus_space_read_1(sc->sc_c.sc_rt, sc->sc_c.sc_rh, SIOP_SCNTL3),
+ bus_space_read_1(sc->sc_c.sc_rt, sc->sc_c.sc_rh, SIOP_SXFER),
+ bus_space_read_1(sc->sc_c.sc_rt, sc->sc_c.sc_rh, SIOP_SCNTL4));
+
#endif
goto reset;
}
Home |
Main Index |
Thread Index |
Old Index