On Mon, 6 May 2019 18:06:00 -0600 (MDT)
David Gwynne <[email protected]> wrote:

> CVSROOT:      /cvs
> Module name:  src
> Changes by:   [email protected]    2019/05/06 18:06:00
> 
> Modified files:
>       sys/dev/pci    : if_mcx.c 
> 
> Log message:
> use MCX_PAGE_SIZE when calculating number of pages for queues
> 
> PAGE_SIZE might be the same, but isn't on sparc64 at least.
> 
> ok jmatthew@
> 

This is the forgotten line which needs to be committed to fix the tree.


diff --git sys/dev/pci/if_mcx.c sys/dev/pci/if_mcx.c
index e779b216b47..ac34fb5eca0 100644
--- sys/dev/pci/if_mcx.c
+++ sys/dev/pci/if_mcx.c
@@ -3473,7 +3473,6 @@ mcx_create_cq(struct mcx_softc *sc, int eqn)
                goto free;
        }
        mbin = mcx_cq_mbox_data(mcx_cq_mbox(&mxm, 0));
-           | sc->sc_uar);
        mbin->cmd_cq_ctx.cq_eqn = htobe32(eqn);
        /* set event moderation bits here */
        mbin->cmd_cq_ctx.cq_doorbell = 
htobe64(MCX_DMA_DVA(&sc->sc_doorbell_mem) +

Reply via email to