Fix mxge_submit_8rx() to behave like the comments says it does,
and ensure that it copies at most 32 bytes at a time.
This commit is contained in:
parent
cf4e18e619
commit
45926e53d0
@ -1705,7 +1705,9 @@ mxge_submit_8rx(volatile mcp_kreq_ether_recv_t *dst,
|
||||
|
||||
low = src->addr_low;
|
||||
src->addr_low = 0xffffffff;
|
||||
mxge_pio_copy(dst, src, 8 * sizeof (*src));
|
||||
mxge_pio_copy(dst, src, 4 * sizeof (*src));
|
||||
mb();
|
||||
mxge_pio_copy(dst + 4, src + 4, 4 * sizeof (*src));
|
||||
mb();
|
||||
dst->addr_low = low;
|
||||
mb();
|
||||
|
Loading…
Reference in New Issue
Block a user