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:
Giovanni Di Sirio 2022-10-09 15:53:03 +00:00
parent e3429720bc
commit d62102117e
1 changed files with 0 additions and 1 deletions

View File

@ -750,7 +750,6 @@ size_t mac_lld_read_receive_descriptor(MACReceiveDescriptor *rdp,
size = rdp->size - rdp->offset;
if (size > 0) {
cacheBufferInvalidate((uint8_t *)(rdp->physdesc->rdes0) + rdp->offset, size);
memcpy(buf, (uint8_t *)(rdp->physdesc->rdes0) + rdp->offset, size);
rdp->offset += size;
}