svn commit: r256638 - head/sys/arm/arm
Ian Lepore
ian at FreeBSD.org
Wed Oct 16 16:35:26 UTC 2013
Author: ian
Date: Wed Oct 16 16:35:25 2013
New Revision: 256638
URL: http://svnweb.freebsd.org/changeset/base/256638
Log:
Add cases for the combinations of busdma sync op flags that we handle
correctly by doing nothing, then add a panic for the default case, because
that implies that some driver asked for a sync (probably incorrectly) and
nothing was done.
Modified:
head/sys/arm/arm/busdma_machdep-v6.c
Modified: head/sys/arm/arm/busdma_machdep-v6.c
==============================================================================
--- head/sys/arm/arm/busdma_machdep-v6.c Wed Oct 16 16:32:35 2013 (r256637)
+++ head/sys/arm/arm/busdma_machdep-v6.c Wed Oct 16 16:35:25 2013 (r256638)
@@ -1282,7 +1282,12 @@ _bus_dmamap_sync(bus_dma_tag_t dmat, bus
}
break;
+ case BUS_DMASYNC_POSTREAD:
+ case BUS_DMASYNC_POSTWRITE:
+ case BUS_DMASYNC_POSTREAD | BUS_DMASYNC_POSTWRITE:
+ break;
default:
+ panic("unsupported combination of sync operations: 0x%08x\n", op);
break;
}
}
More information about the svn-src-all
mailing list