summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccard/pccard.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pccard/pccard.c')
-rw-r--r--sys/dev/pccard/pccard.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/pccard/pccard.c b/sys/dev/pccard/pccard.c
index 4eaf8de..94e0292 100644
--- a/sys/dev/pccard/pccard.c
+++ b/sys/dev/pccard/pccard.c
@@ -533,8 +533,7 @@ static void
pccard_mfc_adjust_iobase(struct pccard_function *pf, bus_addr_t addr,
bus_addr_t offset, bus_size_t size)
{
- bus_addr_t iosize;
- bus_size_t tmp;
+ bus_size_t iosize, tmp;
if (addr != 0) {
if (pf->pf_mfc_iomax == 0) {
@@ -555,8 +554,8 @@ pccard_mfc_adjust_iobase(struct pccard_function *pf, bus_addr_t addr,
;
iosize--;
- DEVPRINTF((pf->dev, "MFC: I/O base 0x%llx IOSIZE %lld\n",
- (uint64_t) pf->pf_mfc_iobase, (uint64_t) iosize));
+ DEVPRINTF((pf->dev, "MFC: I/O base 0x%jx IOSIZE %jd\n",
+ (uintmax_t) pf->pf_mfc_iobase, (uintmax_t) iosize));
pccard_ccr_write(pf, PCCARD_CCR_IOBASE0,
pf->pf_mfc_iobase & 0xff);
pccard_ccr_write(pf, PCCARD_CCR_IOBASE1,
OpenPOWER on IntegriCloud