summaryrefslogtreecommitdiffstats
path: root/sys/pci/xrpu.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-18 00:32:50 +0000
committerbde <bde@FreeBSD.org>1998-08-18 00:32:50 +0000
commit09bd4b96031eb28e1f510c7fd8cb02e65daee9a0 (patch)
tree06b5b642aeea9a9a24327add2f724aa180a02b2f /sys/pci/xrpu.c
parent744645c0346324449f43323c246d39ca4bef546c (diff)
downloadFreeBSD-src-09bd4b96031eb28e1f510c7fd8cb02e65daee9a0.zip
FreeBSD-src-09bd4b96031eb28e1f510c7fd8cb02e65daee9a0.tar.gz
Fixed printf format errors.
Diffstat (limited to 'sys/pci/xrpu.c')
-rw-r--r--sys/pci/xrpu.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/pci/xrpu.c b/sys/pci/xrpu.c
index 4a78d60..b46a395 100644
--- a/sys/pci/xrpu.c
+++ b/sys/pci/xrpu.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id$
+ * $Id: xrpu.c,v 1.1 1998/05/30 18:28:11 phk Exp $
*
* A very simple device driver for PCI cards based on Xilinx 6200 series
* FPGA/RPU devices. Current Functionality is to allow you to open and
@@ -100,11 +100,12 @@ xrpu_attach (pcici_t tag, int unit)
pci_map_mem(tag, PCI_MAP_REG_START, &virbase, &physbase);
- printf("Mapped physbase %p to virbase %p\n", physbase, virbase);
+ printf("Mapped physbase %#lx to virbase %#lx\n",
+ (u_long)physbase, (u_long)virbase);
cdevsw_add(&cdev, &xrpudevsw, NULL);
devfs_add_devswf(&xrpudevsw, 0, DV_CHR, UID_ROOT, GID_WHEEL, 0600,
- "xrpu0", 0);
+ "xrpu0");
}
#endif /* DEVFS */
OpenPOWER on IntegriCloud