Merge branch 'cherry-pick-b18f365b' into 'master'

[master branch] fix ccat fifo

See merge request etherlab.org/ethercat!92
This commit is contained in:
Bjarne von Horn 2023-11-10 09:11:49 +00:00
commit f3691c364a
1 changed files with 2 additions and 0 deletions

View File

@ -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)