Merge branch 'cherry-pick-b18f365b' into 'master'
[master branch] fix ccat fifo See merge request etherlab.org/ethercat!92
This commit is contained in:
commit
f3691c364a
|
|
@ -249,9 +249,11 @@ struct ccat_mac_register {
|
|||
u8 mii_connected;
|
||||
};
|
||||
|
||||
static void ccat_eth_fifo_reset(struct ccat_eth_fifo *const fifo);
|
||||
static void fifo_set_end(struct ccat_eth_fifo *const fifo, size_t size)
|
||||
{
|
||||
fifo->end = fifo->mem.start + size - sizeof(struct ccat_eth_frame);
|
||||
ccat_eth_fifo_reset(fifo);
|
||||
}
|
||||
|
||||
static void ccat_dma_free(struct ccat_eth_priv *const priv)
|
||||
|
|
|
|||
Loading…
Reference in New Issue