summaryrefslogtreecommitdiff
path: root/sys/dev/ic/pgt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/pgt.c')
-rw-r--r--sys/dev/ic/pgt.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ic/pgt.c b/sys/dev/ic/pgt.c
index 00cfc8828ca..0369d13a7d1 100644
--- a/sys/dev/ic/pgt.c
+++ b/sys/dev/ic/pgt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pgt.c,v 1.33 2006/10/09 21:09:40 mglocker Exp $ */
+/* $OpenBSD: pgt.c,v 1.34 2006/10/11 10:20:31 claudio Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
@@ -3200,7 +3200,7 @@ pgt_dma_alloc_queue(struct pgt_softc *sc, enum pgt_queue pq)
PGT_FRAG_SIZE, 0, BUS_DMA_ALLOCNOW, &pd->pd_dmam);
if (error != 0) {
printf("%s: can not create DMA tag for fragment\n",
- sc->sc_dev);
+ sc->sc_dev.dv_xname);
break;
}
@@ -3208,7 +3208,7 @@ pgt_dma_alloc_queue(struct pgt_softc *sc, enum pgt_queue pq)
0, &pd->pd_dmas, 1, &nsegs, BUS_DMA_WAITOK);
if (error != 0) {
printf("%s: error alloc frag %u on queue %u\n",
- sc->sc_dev, i, pq, error);
+ sc->sc_dev.dv_xname, i, pq);
free(pd, M_DEVBUF);
break;
}
@@ -3217,7 +3217,7 @@ pgt_dma_alloc_queue(struct pgt_softc *sc, enum pgt_queue pq)
PGT_FRAG_SIZE, (caddr_t *)&pd->pd_mem, BUS_DMA_WAITOK);
if (error != 0) {
printf("%s: error map frag %u on queue %u\n",
- sc->sc_dev, i, pq);
+ sc->sc_dev.dv_xname, i, pq);
free(pd, M_DEVBUF);
break;
}
@@ -3227,7 +3227,7 @@ pgt_dma_alloc_queue(struct pgt_softc *sc, enum pgt_queue pq)
pd->pd_mem, PGT_FRAG_SIZE, NULL, BUS_DMA_NOWAIT);
if (error != 0) {
printf("%s: error load frag %u on queue %u\n",
- sc->sc_dev, i, pq);
+ sc->sc_dev.dv_xname, i, pq);
bus_dmamem_free(sc->sc_dmat, &pd->pd_dmas,
nsegs);
free(pd, M_DEVBUF);