Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102105327
D28775.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
962 B
Referenced Files
None
Subscribers
None
D28775.diff
View Options
Index: sys/dev/cadence/if_cgem.c
===================================================================
--- sys/dev/cadence/if_cgem.c
+++ sys/dev/cadence/if_cgem.c
@@ -443,17 +443,13 @@
return (err);
/*
- * Allocate DMA memory in non-cacheable space. We allocate transmit,
- * receive and null descriptor queues all at once because the
- * hardware only provides one register for the upper 32 bits of
- * rx and tx descriptor queues hardware addresses.
+ * Allocate DMA memory. We allocate transmit, receive and null
+ * descriptor queues all at once because the hardware only provides
+ * one register for the upper 32 bits of rx and tx descriptor queues
+ * hardware addresses.
*/
err = bus_dmamem_alloc(sc->desc_dma_tag, (void **)&sc->rxring,
-#ifdef __arm__
BUS_DMA_NOWAIT | BUS_DMA_COHERENT | BUS_DMA_ZERO,
-#else
- BUS_DMA_NOWAIT | BUS_DMA_NOCACHE | BUS_DMA_ZERO,
-#endif
&sc->rxring_dma_map);
if (err)
return (err);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 8, 4:29 PM (20 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14538528
Default Alt Text
D28775.diff (962 B)
Attached To
Mode
D28775: cgem: improve usage of busdma(9) KPI
Attached
Detach File
Event Timeline
Log In to Comment