Commit 7921b89f authored by Federico Vaga's avatar Federico Vaga

drv: add shot number to zfad_block

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent f0f435cd
......@@ -397,6 +397,7 @@ static int zfat_arm_trigger(struct zio_ti *ti)
/* Add to the vector of prepared blocks */
zfad_block[i].block = block;
zfad_block[i].cset = ti->cset;
zfad_block[i].shot_n = i;
}
err = ti->cset->raw_io(ti->cset);
......
......@@ -494,6 +494,7 @@ struct zfad_block {
dma_cookie_t cookie;
struct sg_table sgt;
void *dma_ctx;
unsigned int shot_n;
};
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment