summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/safe.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/sys/dev/pci/safe.c b/sys/dev/pci/safe.c
index 51e288b7096..97a19eb1e40 100644
--- a/sys/dev/pci/safe.c
+++ b/sys/dev/pci/safe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: safe.c,v 1.18 2006/02/06 17:29:11 jmc Exp $ */
+/* $OpenBSD: safe.c,v 1.19 2006/03/12 19:41:13 deraadt Exp $ */
/*-
* Copyright (c) 2003 Sam Leffler, Errno Consulting
@@ -2091,13 +2091,9 @@ safe_dump_request(struct safe_softc *sc, const char* tag, struct safe_ringentry
ix = (re->re_desc.d_src - sc->sc_spalloc.dma_paddr) /
sizeof(struct safe_pdesc);
for (nsegs = re->re_src_nsegs; nsegs; nsegs--) {
- printf(" spd[%u] %p: %p size %u flags %x", ix,
+ printf(" spd[%u] %p: %p", ix,
&sc->sc_spring[ix],
- (caddr_t)sc->sc_spring[ix].pd_addr,
- sc->sc_spring[ix].pd_size,
- sc->sc_spring[ix].pd_flags);
- if (sc->sc_spring[ix].pd_size == 0)
- printf(" (zero!)");
+ (caddr_t)sc->sc_spring[ix].pd_addr);
printf("\n");
if (++ix == SAFE_TOTAL_SPART)
ix = 0;
@@ -2107,10 +2103,9 @@ safe_dump_request(struct safe_softc *sc, const char* tag, struct safe_ringentry
ix = (re->re_desc.d_dst - sc->sc_dpalloc.dma_paddr) /
sizeof(struct safe_pdesc);
for (nsegs = re->re_dst_nsegs; nsegs; nsegs--) {
- printf(" dpd[%u] %p: %p flags %x\n", ix,
+ printf(" dpd[%u] %p: %p\n", ix,
&sc->sc_dpring[ix],
- (caddr_t) sc->sc_dpring[ix].pd_addr,
- sc->sc_dpring[ix].pd_flags);
+ (caddr_t) sc->sc_dpring[ix].pd_addr);
if (++ix == SAFE_TOTAL_DPART)
ix = 0;
}