Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Cast a `bus_addr_t' argument to `u_long' for `%l...
details: https://anonhg.NetBSD.org/src/rev/17a9b152839e
branches: trunk
changeset: 500740:17a9b152839e
user: pk <pk%NetBSD.org@localhost>
date: Sun Dec 17 21:50:14 2000 +0000
description:
Cast a `bus_addr_t' argument to `u_long' for `%lx' format (XXX..)
diffstat:
sys/dev/pci/pciide.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 1e4e261d953a -r 17a9b152839e sys/dev/pci/pciide.c
--- a/sys/dev/pci/pciide.c Sun Dec 17 21:44:50 2000 +0000
+++ b/sys/dev/pci/pciide.c Sun Dec 17 21:50:14 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pciide.c,v 1.96 2000/12/04 20:25:40 fvdl Exp $ */
+/* $NetBSD: pciide.c,v 1.97 2000/12/17 21:50:14 pk Exp $ */
/*
@@ -956,7 +956,7 @@
#ifdef DIAGNOSTIC
if (dma_maps->dmamap_table->dm_segs[0].ds_addr & ~IDEDMA_TBL_MASK) {
printf("pciide_dma_init: addr 0x%lx not properly aligned\n",
- dma_maps->dmamap_table->dm_segs[0].ds_addr);
+ (u_long)dma_maps->dmamap_table->dm_segs[0].ds_addr);
panic("pciide_dma_init: table align");
}
#endif
Home |
Main Index |
Thread Index |
Old Index