mirror of https://github.com/rusefi/ChibiOS.git
Removed cache handling in the driver, buffers must be non-cacheable.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15816 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
e3429720bc
commit
d62102117e
|
@ -750,7 +750,6 @@ size_t mac_lld_read_receive_descriptor(MACReceiveDescriptor *rdp,
|
||||||
size = rdp->size - rdp->offset;
|
size = rdp->size - rdp->offset;
|
||||||
|
|
||||||
if (size > 0) {
|
if (size > 0) {
|
||||||
cacheBufferInvalidate((uint8_t *)(rdp->physdesc->rdes0) + rdp->offset, size);
|
|
||||||
memcpy(buf, (uint8_t *)(rdp->physdesc->rdes0) + rdp->offset, size);
|
memcpy(buf, (uint8_t *)(rdp->physdesc->rdes0) + rdp->offset, size);
|
||||||
rdp->offset += size;
|
rdp->offset += size;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue