-/* $OpenBSD: vcctty.c,v 1.10 2012/12/02 19:40:45 kettenis Exp $ */
+/* $OpenBSD: vcctty.c,v 1.11 2014/05/10 11:49:31 kettenis Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
printf(": can't map interrupt\n");
return;
}
- printf(": ivec 0x%lx, 0x%lx", sc->sc_tx_sysino, sc->sc_rx_sysino);
+ printf(": ivec 0x%llx, 0x%llx", sc->sc_tx_sysino, sc->sc_rx_sysino);
/*
* Un-configure queues before registering interrupt handlers,
err = hv_ldc_rx_qconf(lc->lc_id,
lc->lc_rxq->lq_map->dm_segs[0].ds_addr, lc->lc_rxq->lq_nentries);
if (err != H_EOK)
- printf("%d: hv_ldc_rx_qconf %d\n", __func__, err);
+ printf("%s: hv_ldc_rx_qconf %d\n", __func__, err);
cbus_intr_setenabled(sc->sc_tx_sysino, INTR_ENABLED);
cbus_intr_setenabled(sc->sc_rx_sysino, INTR_ENABLED);
-/* $OpenBSD: vcons.c,v 1.13 2013/07/16 19:46:56 kettenis Exp $ */
+/* $OpenBSD: vcons.c,v 1.14 2014/05/10 11:49:31 kettenis Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
*
if (vbus_intr_map(va->va_node, va->va_intr[0], &sysino))
printf(": can't map interrupt\n");
- printf(": ivec 0x%lx", sysino);
+ printf(": ivec 0x%llx", sysino);
sc->sc_ih = bus_intr_establish(va->va_bustag, sysino, IPL_TTY,
BUS_INTR_ESTABLISH_MPSAFE, vcons_intr, sc, sc->sc_dv.dv_xname);
-/* $OpenBSD: vdsk.c,v 1.37 2014/04/03 09:15:06 mpi Exp $ */
+/* $OpenBSD: vdsk.c,v 1.38 2014/05/10 11:49:31 kettenis Exp $ */
/*
* Copyright (c) 2009, 2011 Mark Kettenis
*
printf(": can't map interrupt\n");
return;
}
- printf(": ivec 0x%lx, 0x%lx", sysino[0], sysino[1]);
+ printf(": ivec 0x%llx, 0x%llx", sysino[0], sysino[1]);
/*
* Un-configure queues before registering interrupt handlers,
-/* $OpenBSD: vdsp.c,v 1.25 2014/04/03 09:15:06 mpi Exp $ */
+/* $OpenBSD: vdsp.c,v 1.26 2014/05/10 11:49:31 kettenis Exp $ */
/*
* Copyright (c) 2009, 2011, 2014 Mark Kettenis
*
printf(": can't map interrupt\n");
return;
}
- printf(": ivec 0x%lx, 0x%lx", sc->sc_tx_sysino, sc->sc_tx_sysino);
+ printf(": ivec 0x%llx, 0x%llx", sc->sc_tx_sysino, sc->sc_rx_sysino);
/*
* Un-configure queues before registering interrupt handlers,
err = hv_ldc_rx_qconf(lc->lc_id,
lc->lc_rxq->lq_map->dm_segs[0].ds_addr, lc->lc_rxq->lq_nentries);
if (err != H_EOK)
- printf("%s: hv_ldc_rx_qconf %d\n", err, __func__);
+ printf("%s: hv_ldc_rx_qconf %d\n", __func__, err);
cbus_intr_setenabled(sc->sc_tx_sysino, INTR_ENABLED);
cbus_intr_setenabled(sc->sc_rx_sysino, INTR_ENABLED);
-/* $OpenBSD: vldcp.c,v 1.7 2014/04/03 09:15:06 mpi Exp $ */
+/* $OpenBSD: vldcp.c,v 1.8 2014/05/10 11:49:31 kettenis Exp $ */
/*
* Copyright (c) 2009, 2012 Mark Kettenis
*
printf(": can't map interrupt\n");
return;
}
- printf(": ivec 0x%lx, 0x%lx", sc->sc_tx_sysino, sc->sc_rx_sysino);
+ printf(": ivec 0x%llx, 0x%llx", sc->sc_tx_sysino, sc->sc_rx_sysino);
/*
* Un-configure queues before registering interrupt handlers,
err = hv_ldc_rx_qconf(lc->lc_id,
lc->lc_rxq->lq_map->dm_segs[0].ds_addr, lc->lc_rxq->lq_nentries);
if (err != H_EOK)
- printf("%d: hv_ldc_rx_qconf %d\n", __func__, err);
+ printf("%s: hv_ldc_rx_qconf %d\n", __func__, err);
/* Clear a pending channel reset. */
err = hv_ldc_rx_get_state(lc->lc_id, &rx_head, &rx_tail, &rx_state);
-/* $OpenBSD: vnet.c,v 1.30 2014/04/03 09:15:06 mpi Exp $ */
+/* $OpenBSD: vnet.c,v 1.31 2014/05/10 11:49:31 kettenis Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
printf(": can't map interrupt\n");
return;
}
- printf(": ivec 0x%lx, 0x%lx", sc->sc_tx_sysino, sc->sc_rx_sysino);
+ printf(": ivec 0x%llx, 0x%llx", sc->sc_tx_sysino, sc->sc_rx_sysino);
/*
* Un-configure queues before registering interrupt handlers,
-/* $OpenBSD: vpci.c,v 1.13 2014/01/24 05:42:23 kettenis Exp $ */
+/* $OpenBSD: vpci.c,v 1.14 2014/05/10 11:49:31 kettenis Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org>
*
err = hv_pci_msi_setmsiq(pbm->vp_devhandle, msinum, 0, 0);
if (err != H_EOK) {
- printf("pci_msi_setmsiq: err %ld\n", err);
+ printf("pci_msi_setmsiq: err %d\n", err);
return (NULL);
}
err = hv_pci_msi_setvalid(pbm->vp_devhandle, msinum, PCI_MSI_VALID);
if (err != H_EOK) {
- printf("pci_msi_setvalid: err %ld\n", err);
+ printf("pci_msi_setvalid: err %d\n", err);
return (NULL);
}