diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-12-09 18:27:36 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-12-09 18:27:36 +0000 |
commit | 34781da505fd06fc7cdf18e6e0c0eb187391d2c7 (patch) | |
tree | 1694a08f62cbce8e7e08fc520248ae39650f1609 /usr.sbin/bhyve/pci_nvme.c | |
parent | af3b48e101986fb0840739f8c4bb3195e78008b1 (diff) | |
download | src-34781da505fd06fc7cdf18e6e0c0eb187391d2c7.tar.gz src-34781da505fd06fc7cdf18e6e0c0eb187391d2c7.zip |
Diffstat (limited to 'usr.sbin/bhyve/pci_nvme.c')
-rw-r--r-- | usr.sbin/bhyve/pci_nvme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bhyve/pci_nvme.c b/usr.sbin/bhyve/pci_nvme.c index a66b0abc2cc2..46bf7ba7ec45 100644 --- a/usr.sbin/bhyve/pci_nvme.c +++ b/usr.sbin/bhyve/pci_nvme.c @@ -2836,7 +2836,7 @@ complete: } static void -pci_nvme_handle_doorbell(struct vmctx *ctx __unused, struct pci_nvme_softc* sc, +pci_nvme_handle_doorbell(struct pci_nvme_softc* sc, uint64_t idx, int is_sq, uint64_t value) { DPRINTF("nvme doorbell %lu, %s, val 0x%lx", @@ -2959,7 +2959,7 @@ pci_nvme_write_bar_0(struct vmctx *ctx, struct pci_nvme_softc* sc, } else if (sc->compl_queues[idx].qbase == NULL) return; - pci_nvme_handle_doorbell(ctx, sc, idx, is_sq, value); + pci_nvme_handle_doorbell(sc, idx, is_sq, value); return; } |