From 38acda90bad7bfcbb7143ded63c03fea3fa5a096 Mon Sep 17 00:00:00 2001 From: Eivind Eklund Date: Tue, 12 Jan 1999 01:36:46 +0000 Subject: [PATCH] Clean out warnings introduced in last commit. --- sys/pci/ide_pci.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/pci/ide_pci.c b/sys/pci/ide_pci.c index 8e39211bf764..2cc8469322a0 100644 --- a/sys/pci/ide_pci.c +++ b/sys/pci/ide_pci.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ide_pci.c,v 1.20 1999/01/11 22:14:23 julian Exp $ + * $Id: ide_pci.c,v 1.21 1999/01/11 22:49:16 julian Exp $ */ #include "pci.h" @@ -548,9 +548,9 @@ cyrix_5530_status(struct ide_pci_cookie *cookie) DMA_config = inl(iobase_bm + (unit * 0x10) + 0x24); - printf("cyrix_5530_status: %s:%u IDE PIO cfg: 0x%08x\n", + printf("cyrix_5530_status: %s:%u IDE PIO cfg: 0x%08lx\n", (ctlr ? "Secondary" : "Primary"), unit, PIO_config); - printf("cyrix_5530_status: %s:%u IDE DMA cfg: 0x%08x\n", + printf("cyrix_5530_status: %s:%u IDE DMA cfg: 0x%08lx\n", (ctlr ? "Secondary" : "Primary"), unit, DMA_config); } @@ -589,7 +589,7 @@ cyrix_5530_dmainit(struct ide_pci_cookie *cookie, * depending on what the drive can do, * set the correct modes, */ - printf("wd%d: mw=0x%x, pio=0x%x, pcirev=0x%x, udma=0x%x\n", + printf("wd%d: mw=0x%x, pio=0x%x, pcirev=0x%lx, udma=0x%x\n", unitno, mwdma_mode(wp), pio_mode(wp), pci_revision, udma_mode(wp));