Module Name: src Committed By: riz Date: Sun Feb 20 01:26:23 UTC 2011
Modified Files: src/sys/dev/ic: mvsata.c Log Message: Use PRId64 instead of lld, and PRIx64 instead of llx when compiling with MVSATA_DEBUG. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/ic/mvsata.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/mvsata.c diff -u src/sys/dev/ic/mvsata.c:1.6 src/sys/dev/ic/mvsata.c:1.7 --- src/sys/dev/ic/mvsata.c:1.6 Tue Jul 13 12:57:22 2010 +++ src/sys/dev/ic/mvsata.c Sun Feb 20 01:26:22 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: mvsata.c,v 1.6 2010/07/13 12:57:22 kiyohara Exp $ */ +/* $NetBSD: mvsata.c,v 1.7 2011/02/20 01:26:22 riz Exp $ */ /* * Copyright (c) 2008 KIYOHARA Takashi * All rights reserved. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mvsata.c,v 1.6 2010/07/13 12:57:22 kiyohara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mvsata.c,v 1.7 2011/02/20 01:26:22 riz Exp $"); #include "opt_mvsata.h" @@ -492,9 +492,9 @@ struct atac_softc *atac = chp->ch_atac; struct ata_xfer *xfer; - DPRINTFN(1, ("%s:%d: mvsata_bio: drive=%d, blkno=%lld, bcount=%ld\n", - device_xname(atac->atac_dev), chp->ch_channel, drvp->drive, - ata_bio->blkno, ata_bio->bcount)); + DPRINTFN(1, ("%s:%d: mvsata_bio: drive=%d, blkno=%" PRId64 + ", bcount=%ld\n", device_xname(atac->atac_dev), chp->ch_channel, + drvp->drive, ata_bio->blkno, ata_bio->bcount)); xfer = ata_get_xfer(ATAXF_NOSLEEP); if (xfer == NULL) @@ -2330,7 +2330,7 @@ int quetag, erqqip, erqqop, next, rv, i; DPRINTFN(2, ("%s:%d:%d: mvsata_edma_inqueue:" - " blkno=0x%llx, nbytes=%d, flags=0x%x\n", + " blkno=0x%" PRIx64 ", nbytes=%d, flags=0x%x\n", device_xname(MVSATA_DEV2(mvport)), mvport->port_hc->hc, mvport->port, ata_bio->blkno, ata_bio->nbytes, ata_bio->flags));