CPDMA_BD_PORT_MASK
port = (bd.flags & CPDMA_BD_PORT_MASK) - 1;
bd.flags |= ((sc->unit + 1) & CPDMA_BD_PORT_MASK);