DBDMA_BUILD
DBDMA_BUILD(cmd, DBDMA_CMD_OUT_MORE, 0, PAGE_SIZE, vtophys(va),
DBDMA_BUILD(cmd, DBDMA_CMD_NOP, 0, 0, 0,
DBDMA_BUILD(cmdp, cmd, 0, rest, kvtop((void *)va),
DBDMA_BUILD(cmdp, cmd, 0, PAGE_SIZE, kvtop((void *)va),
DBDMA_BUILD(cmdp, cmd , 0, count, kvtop((void *)va),
DBDMA_BUILD(cmdp, DBDMA_CMD_STOP, 0, 0, 0,
DBDMA_BUILD(cmd, DBDMA_CMD_IN_LAST, 0, BMAC_BUFLEN,
DBDMA_BUILD(cmd, DBDMA_CMD_NOP, 0, 0, 0,
DBDMA_BUILD(cmd, DBDMA_CMD_OUT_LAST, 0, len, vtophys(va),
DBDMA_BUILD(cmd, DBDMA_CMD_STOP, 0, 0, 0,
DBDMA_BUILD(cmd, DBDMA_CMD_OUT_LAST, 0, len, sc->sc_txbuf_phys,
DBDMA_BUILD(cmd, DBDMA_CMD_IN_LAST, 0, ETHERMTU + 22,
DBDMA_BUILD(cmd, DBDMA_CMD_NOP, 0, 0, 0,
DBDMA_BUILD(cmd, DBDMA_CMD_OUT_LAST, 0, 0, sc->sc_txbuf_phys,
DBDMA_BUILD(cmd, DBDMA_CMD_STOP, 0, 0, 0,
DBDMA_BUILD(cmdp, cmd, 0, rest, vtophys(va),
DBDMA_BUILD(cmdp, cmd, 0, PAGE_SIZE, vtophys(va),
DBDMA_BUILD(cmdp, cmd, 0, datalen, vtophys(va),
DBDMA_BUILD(cmdp, DBDMA_CMD_STOP, 0, 0, 0,
DBDMA_BUILD(cmd, DBDMA_CMD_OUT_MORE, 0, 32, vtophys((vaddr_t)sc->sc_dmabuf),
DBDMA_BUILD(cmd, DBDMA_CMD_NOP, 0, 0,
DBDMA_BUILD(cmdp, cmd, 0, rest, vtophys(va),
DBDMA_BUILD(cmdp, cmd, 0, PAGE_SIZE, vtophys(va),
DBDMA_BUILD(cmdp, cmd , 0, count, vtophys(va),
DBDMA_BUILD(cmdp, DBDMA_CMD_STOP, 0, 0, 0,
DBDMA_BUILD(cmd, DBDMA_CMD_OUT_MORE, 0, NBPG, vtophys(va),
DBDMA_BUILD(cmd, DBDMA_CMD_NOP, 0, 0,
DBDMA_BUILD(cmd, DBDMA_CMD_IN_MORE, 0, NBPG, vtophys(va),
DBDMA_BUILD(cmd, DBDMA_CMD_NOP, 0, 0,
DBDMA_BUILD(cmdp, cmd, 0, rest, vtophys(va),
DBDMA_BUILD(cmdp, cmd, 0, PAGE_SIZE, vtophys(va),
DBDMA_BUILD(cmdp, cmd, 0, datalen, vtophys(va),
DBDMA_BUILD(cmdp, DBDMA_CMD_STOP, 0, 0, 0,
DBDMA_BUILD(cmdp, DBDMA_CMD_OUT_LAST, 0, len, kvtop(pa),
DBDMA_BUILD(cmdp, DBDMA_CMD_STOP, 0, 0, 0,