From 468c5967fb87a26d60bd0f9b8ce1b1c55d87a666 Mon Sep 17 00:00:00 2001 From: coypu Date: Sat, 17 Sep 2016 08:36:06 +0300 Subject: [PATCH 20/27] squash want __DECONST ... --- sys/external/isc/atheros_hal/ic/ah_osdep.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sys/external/isc/atheros_hal/ic/ah_osdep.h b/sys/external/isc/atheros_hal/ic/ah_osdep.h index a9f6f70..ff4c8fc 100644 --- a/sys/external/isc/atheros_hal/ic/ah_osdep.h +++ b/sys/external/isc/atheros_hal/ic/ah_osdep.h @@ -147,6 +147,16 @@ typedef uint32_t HAL_DMA_ADDR; #define __bswap16(x) bswap16(x) #define __bswap32(x) bswap32(x) +/* + * For USB/SDIO support (where access latencies are quite high); + * some write accesses may be buffered and then flushed when + * either a read is done, or an explicit flush is done. + * + * These are simply placeholders for now. + */ +#define OS_REG_WRITE_BUFFER_ENABLE(_ah) \ + do { } while (0) + #ifndef __DECONST #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) #endif -- 2.9.3